Skip to content

Commit 56b4290

Browse files
authored
Fix internal global getter types (#3495)
1 parent 380cd7b commit 56b4290

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/iwasm/common/wasm_runtime_common.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4170,15 +4170,15 @@ wasm_func_type_get_result_valkind(WASMFuncType *const func_type,
41704170
}
41714171

41724172
wasm_valkind_t
4173-
wasm_global_type_get_valkind(const wasm_global_type_t global_type)
4173+
wasm_global_type_get_valkind(WASMGlobalType *const global_type)
41744174
{
41754175
bh_assert(global_type);
41764176

41774177
return val_type_to_val_kind(global_type->val_type);
41784178
}
41794179

41804180
bool
4181-
wasm_global_type_get_mutable(const wasm_global_type_t global_type)
4181+
wasm_global_type_get_mutable(WASMGlobalType *const global_type)
41824182
{
41834183
bh_assert(global_type);
41844184

0 commit comments

Comments
 (0)