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

Method get_function_decl

cranelift/module/src/module.rs:717–719  ·  view source on GitHub ↗

Get the `FunctionDeclaration` for the function named by `name`.

(&self, func_id: FuncId)

Source from the content-addressed store, hash-verified

715
716 /// Get the `FunctionDeclaration` for the function named by `name`.
717 pub fn get_function_decl(&self, func_id: FuncId) -> &FunctionDeclaration {
718 &self.functions[func_id]
719 }
720
721 /// Get an iterator of all data declarations
722 pub fn get_data_objects(&self) -> impl Iterator<Item = (DataId, &DataDeclaration)> {

Callers 6

get_addressMethod · 0.80
finalize_definitionsMethod · 0.80
define_function_bytesMethod · 0.80
define_function_innerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected