Skip to main content

WasmEdge_ConfigureSetMaxMemoryPage

Function WasmEdge_ConfigureSetMaxMemoryPage 

Source
pub unsafe extern "C" fn WasmEdge_ConfigureSetMaxMemoryPage(
    Cxt: *mut WasmEdge_ConfigureContext,
    Page: u64,
)
Expand description

Set the page limit of memory instances.

Limit the page count (64KiB per page) in memory instances.

This function is thread-safe.

\param Cxt the WasmEdge_ConfigureContext to set the maximum page count. \param Page the maximum page count.