(ty: FuncType)
| 89 | |
| 90 | impl wasm_functype_t { |
| 91 | pub(crate) fn new(ty: FuncType) -> wasm_functype_t { |
| 92 | wasm_functype_t { |
| 93 | ext: wasm_externtype_t::from_extern_type(ty.into()), |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | pub(crate) fn lazy(params: Vec<ValType>, results: Vec<ValType>) -> wasm_functype_t { |
| 98 | wasm_functype_t { |