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

Method lazy

crates/c-api/src/types/func.rs:97–103  ·  view source on GitHub ↗
(params: Vec<ValType>, results: Vec<ValType>)

Source from the content-addressed store, hash-verified

95 }
96
97 pub(crate) fn lazy(params: Vec<ValType>, results: Vec<ValType>) -> wasm_functype_t {
98 wasm_functype_t {
99 ext: wasm_externtype_t::from_cextern_type(CExternType::Func(CFuncType::lazy(
100 params, results,
101 ))),
102 }
103 }
104
105 pub(crate) fn try_from(e: &wasm_externtype_t) -> Option<&wasm_functype_t> {
106 match &e.which {

Callers

nothing calls this directly

Calls 2

FuncClass · 0.50
newFunction · 0.50

Tested by

no test coverage detected