diff --git a/samples/basic/src/main.c b/samples/basic/src/main.c index 97cfa99c..1e0e7b97 100644 --- a/samples/basic/src/main.c +++ b/samples/basic/src/main.c @@ -67,12 +67,14 @@ int main(int argc, char *argv_main[]) { "intToStr", // the name of WASM function name intToStr, // the native function pointer - "(i*~i)i" // the function prototype signature, avoid to use i32 + "(i*~i)i", // the function prototype signature, avoid to use i32 + NULL // attachment is NULL }, { - "get_pow", // the name of WASM function name + "get_pow", // the name of WASM function name get_pow, // the native function pointer - "(ii)i" // the function prototype signature, avoid to use i32 + "(ii)i", // the function prototype signature, avoid to use i32 + NULL // attachment is NULL } };