[][src]Function wamr_sys::wasm_runtime_lookup_function

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

Lookup an exported function in the WASM module instance.

@param module_inst the module instance @param name the name of the function @param signature the signature of the function, ignored currently

@return the function instance found, NULL if not found