wasm_runtime_find_module_registered

Function wasm_runtime_find_module_registered 

Source
pub unsafe extern "C" fn wasm_runtime_find_module_registered(
    module_name: *const c_char,
) -> wasm_module_t
Expand description

Check if there is already a loaded module named module_name in the runtime. Repeatedly loading a module with the same name is not allowed.

@param module_name indicate a name

@return return WASM module loaded, NULL if failed