MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / get_defined_table

Method get_defined_table

crates/wasmtime/src/runtime/vm/instance.rs:1136–1138  ·  view source on GitHub ↗

Get a locally-defined table.

(self: Pin<&mut Self>, index: DefinedTableIndex)

Source from the content-addressed store, hash-verified

1134
1135 /// Get a locally-defined table.
1136 pub(crate) fn get_defined_table(self: Pin<&mut Self>, index: DefinedTableIndex) -> &mut Table {
1137 &mut self.tables_mut()[index].1
1138 }
1139
1140 pub(crate) fn defined_table_index_and_instance<'a>(
1141 self: Pin<&'a mut Self>,

Callers 2

defined_table_growMethod · 0.80

Calls 1

tables_mutMethod · 0.80

Tested by

no test coverage detected