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

Method import_function

cranelift/frontend/src/frontend.rs:592–594  ·  view source on GitHub ↗

Declare an external function import.

(&mut self, data: ExtFuncData)

Source from the content-addressed store, hash-verified

590
591 /// Declare an external function import.
592 pub fn import_function(&mut self, data: ExtFuncData) -> FuncRef {
593 self.func.import_function(data)
594 }
595
596 /// Declares a global value accessible to the function.
597 pub fn create_global_value(&mut self, data: GlobalValueData) -> GlobalValue {

Callers 15

call_memcpyMethod · 0.45
call_memsetMethod · 0.45
call_memmoveMethod · 0.45
call_memcmpMethod · 0.45
try_callFunction · 0.45
needs_stack_map_and_loopFunction · 0.45
needs_stack_map_simpleFunction · 0.45

Calls

no outgoing calls