mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-13 07:23:39 +00:00
loader/cgo: add support for pointer types
This commit is contained in:
Vendored
+6
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user