Skip to main content

WasmEdge_MemoryTypeCreate

Function WasmEdge_MemoryTypeCreate 

Source
pub unsafe extern "C" fn WasmEdge_MemoryTypeCreate(
    Limit: *const WasmEdge_LimitContext,
) -> *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.