wasmer_vm::libcalls

Function wasmer_vm_memory32_grow

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

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

ยงSafety

vmctx must be dereferenceable.