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
+4
View File
@@ -9,3 +9,7 @@ int fortytwo() {
int add(int a, int b) {
return a + b;
}
void store(int value, int *ptr) {
*ptr = value;
}