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

Method imported_table

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

Return the index `VMTableImport`.

(&self, index: TableIndex)

Source from the content-addressed store, hash-verified

423
424 /// Return the index `VMTableImport`.
425 fn imported_table(&self, index: TableIndex) -> &VMTableImport {
426 unsafe { self.vmctx_plus_offset(self.offsets().vmctx_vmtable_import(index)) }
427 }
428
429 /// Return the indexed `VMMemoryImport`.
430 fn imported_memory(&self, index: MemoryIndex) -> &VMMemoryImport {

Callers 2

get_exported_tableMethod · 0.80

Calls 3

vmctx_plus_offsetMethod · 0.80
vmctx_vmtable_importMethod · 0.80
offsetsMethod · 0.45

Tested by

no test coverage detected