wasmi_c_api

Function wasm_table_grow

source
#[no_mangle]
pub unsafe extern "C" fn wasm_table_grow(
    t: &mut wasm_table_t,
    delta: wasm_table_size_t,
    init: Option<&wasm_ref_t>,
) -> bool
Expand description

Grows the number of cells of the wasm_table_t by delta.

Returns true if the operation was successful.

Wraps Table::grow.

§Safety

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