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

Function wasm_table_set

src/wasm-c.cc:890–894  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

888}
889
890bool wasm_table_set(
891 wasm_table_t* table, wasm_table_size_t index, wasm_ref_t* ref
892) {
893 return table->set(index, ref);
894}
895
896wasm_table_size_t wasm_table_size(const wasm_table_t* table) {
897 return table->size();

Callers 2

mainFunction · 0.85
mainFunction · 0.85

Calls 1

setMethod · 0.80

Tested by

no test coverage detected