pub unsafe extern "C" fn WasmEdge_ModuleInstanceAddMemory(
    Cxt: *mut WasmEdge_ModuleInstanceContext,
    Name: WasmEdge_String,
    MemoryCxt: *mut WasmEdge_MemoryInstanceContext
)
Expand description

Add a memory instance context into a WasmEdge_ModuleInstanceContext.

Export and move the ownership of the memory instance into the module instance. The caller should NOT access or destroy the memory instance context after calling this function.

This function is thread-safe.

\param Cxt the WasmEdge_ModuleInstanceContext to add the memory instance. \param Name the export memory name WasmEdge_String. \param MemoryCxt the WasmEdge_MemoryInstanceContext to add.