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

Method push_function

crates/wizer/src/info.rs:101–103  ·  view source on GitHub ↗

Push a new function into this module's function index space.

(&mut self, func_type: u32)

Source from the content-addressed store, hash-verified

99
100 /// Push a new function into this module's function index space.
101 pub(crate) fn push_function(&mut self, func_type: u32) {
102 self.functions.push(func_type);
103 }
104
105 /// Push a new table into this module's table index space.
106 pub(crate) fn push_table(&mut self, table_type: wasmparser::TableType) {

Callers 3

mockMethod · 0.45
function_sectionFunction · 0.45
push_importMethod · 0.45

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected