Function wasmedge_sys::ffi::WasmEdge_MemoryTypeCreate
source · pub unsafe extern "C" fn WasmEdge_MemoryTypeCreate(
Limit: WasmEdge_Limit
) -> *mut WasmEdge_MemoryTypeContext
Expand description
Creation of the WasmEdge_MemoryTypeContext.
The caller owns the object and should call WasmEdge_MemoryTypeDelete
to
destroy it.
\param Limit the limit struct of the memory type.
\returns pointer to context, NULL if failed.