Function wasmedge_sys::ffi::WasmEdge_MemoryInstanceGetMemoryType
source · pub unsafe extern "C" fn WasmEdge_MemoryInstanceGetMemoryType(
Cxt: *const WasmEdge_MemoryInstanceContext
) -> *const WasmEdge_MemoryTypeContext
Expand description
Get the memory type context from a memory instance.
The memory type context links to the memory type in the memory instance
context and owned by the context. The caller should NOT call the
WasmEdge_MemoryTypeDelete
.
\param Cxt the WasmEdge_MemoryInstanceContext.
\returns pointer to context, NULL if failed.