mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-11 17:35:13 +00:00
Change-Id: Iec565f7dd09c14ee5c0f8732f86ff0d2cc094a4d
This commit is contained in:
parent
c6fc12b7b6
commit
30bab1bcc3
|
@ -67,12 +67,14 @@ int main(int argc, char *argv_main[])
|
||||||
{
|
{
|
||||||
"intToStr", // the name of WASM function name
|
"intToStr", // the name of WASM function name
|
||||||
intToStr, // the native function pointer
|
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
|
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
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user