Fix internal global getter types (#3495)

This commit is contained in:
Benbuck Nason 2024-06-03 20:29:31 -07:00 committed by GitHub
parent 380cd7b0e7
commit 56b42908a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4170,7 +4170,7 @@ wasm_func_type_get_result_valkind(WASMFuncType *const func_type,
}
wasm_valkind_t
wasm_global_type_get_valkind(const wasm_global_type_t global_type)
wasm_global_type_get_valkind(WASMGlobalType *const global_type)
{
bh_assert(global_type);
@ -4178,7 +4178,7 @@ wasm_global_type_get_valkind(const wasm_global_type_t global_type)
}
bool
wasm_global_type_get_mutable(const wasm_global_type_t global_type)
wasm_global_type_get_mutable(WASMGlobalType *const global_type)
{
bh_assert(global_type);