Fix build error when enable custom section without interpreter (#1229)

This commit is contained in:
Xu Jun
2022-06-15 18:14:39 +08:00
committed by GitHub
parent 1705ae569b
commit e0a8aa09be
5 changed files with 21 additions and 22 deletions

View File

@ -884,6 +884,11 @@ wasm_runtime_invoke_c_api_native(WASMModuleInstanceCommon *module_inst,
void
wasm_runtime_show_app_heap_corrupted_prompt();
#if WASM_ENABLE_LOAD_CUSTOM_SECTION != 0
void
wasm_runtime_destroy_custom_sections(WASMCustomSection *section_list);
#endif
#ifdef __cplusplus
}
#endif