Params returns the parameter types of this function type
()
| 76 | |
| 77 | // Params returns the parameter types of this function type |
| 78 | func (ty *FuncType) Params() []*ValType { |
| 79 | ptr := C.wasm_functype_params(ty.ptr()) |
| 80 | return ty.convertTypeList(ptr) |
| 81 | } |
| 82 | |
| 83 | // Results returns the result types of this function type |
| 84 | func (ty *FuncType) Results() []*ValType { |