wasmer_vm::libcalls

Function wasmer_vm_memory32_size

source
#[no_mangle]
pub unsafe extern "C" fn wasmer_vm_memory32_size(
    vmctx: *mut VMContext,
    memory_index: u32,
) -> u32
Expand description

Implementation of memory.size for locally-defined 32-bit memories.

ยงSafety

vmctx must be dereferenceable.