wamr_sys

Function wasm_runtime_lookup_function

Source
pub unsafe extern "C" fn wasm_runtime_lookup_function(
    module_inst: wasm_module_inst_t,
    name: *const c_char,
) -> wasm_function_inst_t
Expand description

Lookup an exported function in the WASM module instance.

@param module_inst the module instance @param name the name of the function

@return the function instance found, NULL if not found