wasmedge_sys::ffi

Function WasmEdge_MemoryInstanceGetPageSize

Source
pub unsafe extern "C" fn WasmEdge_MemoryInstanceGetPageSize(
    Cxt: *const WasmEdge_MemoryInstanceContext,
) -> u32
Expand description

Get the current page size (64 KiB of each page) of a memory instance.

\param Cxt the WasmEdge_MemoryInstanceContext.

\returns the page size of the memory instance.