wasm_memory_size

Function wasm_memory_size 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn wasm_memory_size( m: &wasm_memory_t, ) -> wasm_memory_pages_t
Expand description

Returns the current number of Wasm pages of the wasm_memory_t.

Wraps Memory::size.

§Safety

It is the caller’s responsibility not to alias the wasm_memory_t with its underlying, internal WasmStoreRef.