()
| 47 | } |
| 48 | |
| 49 | func (ty *FuncType) ptr() *C.wasm_functype_t { |
| 50 | ret := ty._ptr |
| 51 | if ret == nil { |
| 52 | panic("object has been closed already") |
| 53 | } |
| 54 | maybeGC() |
| 55 | return ret |
| 56 | } |
| 57 | |
| 58 | func (ty *FuncType) owner() interface{} { |
| 59 | if ty._owner != nil { |
no test coverage detected