Method
lazy
(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
Tested by
no test coverage detected