Skip to main content

WasmEdge_LimitCreate

Function WasmEdge_LimitCreate 

Source
pub unsafe extern "C" fn WasmEdge_LimitCreate(
    Min: u64,
    Is64Bit: bool,
) -> *mut WasmEdge_LimitContext
Expand description

Creation of the WasmEdge_LimitContext without max value.

The caller owns the object and should call WasmEdge_LimitDelete to destroy it.

\param Min the minimum of this limit. \param Is64Bit determine the 64-bit address type of this limit. false for the 32-bit address type.

\returns pointer to context, NULL if failed.