Просмотр исходного кода

Fix internal global getter types (#3495)

Benbuck Nason 1 год назад
Родитель
Сommit
56b42908a8
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      core/iwasm/common/wasm_runtime_common.c

+ 2 - 2
core/iwasm/common/wasm_runtime_common.c

@@ -4170,7 +4170,7 @@ wasm_func_type_get_result_valkind(WASMFuncType *const func_type,
 }
 }
 
 
 wasm_valkind_t
 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);
     bh_assert(global_type);
 
 
@@ -4178,7 +4178,7 @@ wasm_global_type_get_valkind(const wasm_global_type_t global_type)
 }
 }
 
 
 bool
 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);
     bh_assert(global_type);