wasmer_vm::libcalls

Function wasmer_vm_table_set

Source
#[no_mangle]
pub unsafe extern "C" fn wasmer_vm_table_set(
    vmctx: *mut VMContext,
    table_index: u32,
    elem_index: u32,
    value: RawTableElement,
)
Expand description

Implementation of table.set.

§Safety

vmctx must be dereferenceable.

It is the caller’s responsibility to increment the ref count of any ref counted type before passing it to this function.