mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-08 20:56:13 +00:00
Fix ref-types sample invalid externref signature (#1119)
Fix ref-types sample running error due to using invalid externref signatures
This commit is contained in:
parent
5ab368dd00
commit
9013a474bc
|
@ -30,8 +30,8 @@ local_chk_externref(wasm_exec_env_t exec_env, int32 index, uintptr_t externref)
|
||||||
|
|
||||||
/* clang-format off */
|
/* clang-format off */
|
||||||
static NativeSymbol native_symbols[] = {
|
static NativeSymbol native_symbols[] = {
|
||||||
{ "native-cmp-externref", local_cmp_externref, "(II)i", NULL },
|
{ "native-cmp-externref", local_cmp_externref, "(rr)i", NULL },
|
||||||
{ "native-chk-externref", local_chk_externref, "(iI)i", NULL },
|
{ "native-chk-externref", local_chk_externref, "(ir)i", NULL },
|
||||||
};
|
};
|
||||||
/* clang-format on */
|
/* clang-format on */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user