wasm_runtime_lookup_memory

Function wasm_runtime_lookup_memory 

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

@brief Lookup a memory instance by name

@param module_inst The module instance @param name The name of the memory instance

@return The memory instance if found, NULL otherwise