MCPcopy Create free account
hub / github.com/WebAssembly/wasm-c-api / wasm_table_new

Function wasm_table_new

src/wasm-c.cc:876–880  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

874WASM_DEFINE_REF(table, Table)
875
876wasm_table_t* wasm_table_new(
877 wasm_store_t* store, const wasm_tabletype_t* type, wasm_ref_t* ref
878) {
879 return release_table(Table::make(store, type, ref));
880}
881
882wasm_tabletype_t* wasm_table_type(const wasm_table_t* table) {
883 return release_tabletype(table->type());

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected