Skip to content

Commit 00ae8cd

Browse files
authored
Remove unused wasm_runtime_is_module_registered (#1594)
It is unused and the same functionality is provided by `wasm_runtime_find_module_registered`.
1 parent a75295e commit 00ae8cd

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

core/iwasm/common/wasm_runtime_common.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -702,12 +702,6 @@ wasm_runtime_find_module_registered(const char *module_name)
702702
return module ? module->module : NULL;
703703
}
704704

705-
bool
706-
wasm_runtime_is_module_registered(const char *module_name)
707-
{
708-
return NULL != wasm_runtime_find_module_registered(module_name);
709-
}
710-
711705
/*
712706
* simply destroy all
713707
*/

core/iwasm/common/wasm_runtime_common.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -718,9 +718,6 @@ wasm_runtime_register_module_internal(const char *module_name,
718718
void
719719
wasm_runtime_unregister_module(const WASMModuleCommon *module);
720720

721-
bool
722-
wasm_runtime_is_module_registered(const char *module_name);
723-
724721
bool
725722
wasm_runtime_add_loading_module(const char *module_name, char *error_buf,
726723
uint32 error_buf_size);

0 commit comments

Comments
 (0)