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

Method wasmtime_ty

crates/wasmtime/src/runtime/externals/table.rs:516–520  ·  view source on GitHub ↗
(&self, store: &'a StoreOpaque)

Source from the content-addressed store, hash-verified

514 }
515
516 pub(crate) fn wasmtime_ty<'a>(&self, store: &'a StoreOpaque) -> &'a wasmtime_environ::Table {
517 let module = store[self.instance].env_module();
518 let index = module.table_index(self.index);
519 &module.tables[index]
520 }
521
522 pub(crate) fn vmimport(&self, store: &StoreOpaque) -> vm::VMTableImport {
523 let instance = &store[self.instance];

Callers 1

ty_Method · 0.45

Calls 2

table_indexMethod · 0.80
env_moduleMethod · 0.45

Tested by

no test coverage detected