Type returns the type of item this import type expects
()
| 92 | |
| 93 | // Type returns the type of item this import type expects |
| 94 | func (ty *ImportType) Type() *ExternType { |
| 95 | ptr := C.wasm_importtype_type(ty.ptr()) |
| 96 | return mkExternType(ptr, ty.owner()) |
| 97 | } |