loader/cgo: add support for pointer types

This commit is contained in:
Ayke van Laethem
2019-02-07 13:20:19 +01:00
parent 01f6aff422
commit 35fb594f8f
7 changed files with 165 additions and 120 deletions
+6
View File
@@ -1,3 +1,9 @@
typedef short myint;
int add(int a, int b);
typedef int * intPointer;
extern int global;
void store(int value, int *ptr);
// test duplicate definitions
int add(int a, int b);
extern int global;