mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2024-11-26 23:42:05 +00:00
Remove unused wasm_runtime_is_module_registered (#1594)
It is unused and the same functionality is provided by `wasm_runtime_find_module_registered`.
This commit is contained in:
parent
a75295ec14
commit
00ae8cd614
|
@ -702,12 +702,6 @@ wasm_runtime_find_module_registered(const char *module_name)
|
||||||
return module ? module->module : NULL;
|
return module ? module->module : NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
|
||||||
wasm_runtime_is_module_registered(const char *module_name)
|
|
||||||
{
|
|
||||||
return NULL != wasm_runtime_find_module_registered(module_name);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* simply destroy all
|
* simply destroy all
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -718,9 +718,6 @@ wasm_runtime_register_module_internal(const char *module_name,
|
||||||
void
|
void
|
||||||
wasm_runtime_unregister_module(const WASMModuleCommon *module);
|
wasm_runtime_unregister_module(const WASMModuleCommon *module);
|
||||||
|
|
||||||
bool
|
|
||||||
wasm_runtime_is_module_registered(const char *module_name);
|
|
||||||
|
|
||||||
bool
|
bool
|
||||||
wasm_runtime_add_loading_module(const char *module_name, char *error_buf,
|
wasm_runtime_add_loading_module(const char *module_name, char *error_buf,
|
||||||
uint32 error_buf_size);
|
uint32 error_buf_size);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user