wasmer_vm::libcalls

Function wasmer_vm_imported_memory32_grow

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

Implementation of memory.grow for imported 32-bit memories.

ยงSafety

vmctx must be dereferenceable.