We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6fc12b commit 30bab1bCopy full SHA for 30bab1b
samples/basic/src/main.c
@@ -67,12 +67,14 @@ int main(int argc, char *argv_main[])
67
{
68
"intToStr", // the name of WASM function name
69
intToStr, // the native function pointer
70
- "(i*~i)i" // the function prototype signature, avoid to use i32
+ "(i*~i)i", // the function prototype signature, avoid to use i32
71
+ NULL // attachment is NULL
72
},
73
- "get_pow", // the name of WASM function name
74
+ "get_pow", // the name of WASM function name
75
get_pow, // the native function pointer
- "(ii)i" // the function prototype signature, avoid to use i32
76
+ "(ii)i", // the function prototype signature, avoid to use i32
77
78
}
79
};
80
0 commit comments