wasm_table_new

Function wasm_table_new 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn wasm_table_new( store: &mut wasm_store_t, tt: &wasm_tabletype_t, init: Option<&wasm_ref_t>, ) -> Option<Box<wasm_table_t>>
Expand description

Creates a new wasm_table_t from the given wasm_tabletype_t.

Wraps Table::new.

§Safety

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