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

Method is_imported_function

crates/environ/src/module.rs:350–352  ·  view source on GitHub ↗
(&self, index: FuncIndex)

Source from the content-addressed store, hash-verified

348 /// Test whether the given function index is for an imported function.
349 #[inline]
350 pub fn is_imported_function(&self, index: FuncIndex) -> bool {
351 index.index() < self.num_imported_funcs
352 }
353
354 /// Convert a `DefinedTableIndex` into a `TableIndex`.
355 #[inline]

Callers 1

callee_from_indexMethod · 0.80

Calls 1

indexMethod · 0.45

Tested by

no test coverage detected