From 8266d15dead19cdc37d2852b36c0aa2b61b2e60d Mon Sep 17 00:00:00 2001 From: Xu Jun <693788454@qq.com> Date: Wed, 15 Jun 2022 17:14:38 +0800 Subject: [PATCH] change function name --- core/iwasm/aot/aot_loader.c | 2 +- core/iwasm/common/wasm_runtime_common.c | 2 +- core/iwasm/common/wasm_runtime_common.h | 2 +- core/iwasm/interpreter/wasm_loader.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/iwasm/aot/aot_loader.c b/core/iwasm/aot/aot_loader.c index 493e40c90..e5d9b3fc9 100644 --- a/core/iwasm/aot/aot_loader.c +++ b/core/iwasm/aot/aot_loader.c @@ -3296,7 +3296,7 @@ aot_unload(AOTModule *module) #endif #if WASM_ENABLE_LOAD_CUSTOM_SECTION != 0 - wasm_loader_destroy_custom_sections(module->custom_section_list); + wasm_runtime_destroy_custom_sections(module->custom_section_list); #endif wasm_runtime_free(module); diff --git a/core/iwasm/common/wasm_runtime_common.c b/core/iwasm/common/wasm_runtime_common.c index 266ae6aae..35584319a 100644 --- a/core/iwasm/common/wasm_runtime_common.c +++ b/core/iwasm/common/wasm_runtime_common.c @@ -4908,7 +4908,7 @@ wasm_runtime_show_app_heap_corrupted_prompt() #if WASM_ENABLE_LOAD_CUSTOM_SECTION != 0 void -wasm_loader_destroy_custom_sections(WASMCustomSection *section_list) +wasm_runtime_destroy_custom_sections(WASMCustomSection *section_list) { WASMCustomSection *section = section_list, *next; while (section) { diff --git a/core/iwasm/common/wasm_runtime_common.h b/core/iwasm/common/wasm_runtime_common.h index 4257f4006..7ef8f69c1 100644 --- a/core/iwasm/common/wasm_runtime_common.h +++ b/core/iwasm/common/wasm_runtime_common.h @@ -886,7 +886,7 @@ wasm_runtime_show_app_heap_corrupted_prompt(); #if WASM_ENABLE_LOAD_CUSTOM_SECTION != 0 void -wasm_loader_destroy_custom_sections(WASMCustomSection *section_list); +wasm_runtime_destroy_custom_sections(WASMCustomSection *section_list); #endif #ifdef __cplusplus diff --git a/core/iwasm/interpreter/wasm_loader.c b/core/iwasm/interpreter/wasm_loader.c index a6e7603a7..b9f971b27 100644 --- a/core/iwasm/interpreter/wasm_loader.c +++ b/core/iwasm/interpreter/wasm_loader.c @@ -3788,7 +3788,7 @@ wasm_loader_unload(WASMModule *module) #endif #if WASM_ENABLE_LOAD_CUSTOM_SECTION != 0 - wasm_loader_destroy_custom_sections(module->custom_section_list); + wasm_runtime_destroy_custom_sections(module->custom_section_list); #endif wasm_runtime_free(module);