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

Method get_functions

cranelift/module/src/module.rs:700–702  ·  view source on GitHub ↗

Get an iterator of all function declarations

(&self)

Source from the content-addressed store, hash-verified

698
699 /// Get an iterator of all function declarations
700 pub fn get_functions(&self) -> impl Iterator<Item = (FuncId, &FunctionDeclaration)> {
701 self.functions.iter()
702 }
703
704 /// Return whether `name` names a function, rather than a data object.
705 pub fn is_function(name: &ModuleRelocTarget) -> bool {

Callers 1

finishMethod · 0.80

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected