mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-11 22:43:40 +00:00
loader/cgo: add support for pointer types
This commit is contained in:
Vendored
+4
@@ -9,3 +9,7 @@ int fortytwo() {
|
||||
int add(int a, int b) {
|
||||
return a + b;
|
||||
}
|
||||
|
||||
void store(int value, int *ptr) {
|
||||
*ptr = value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user