()
| 25 | } |
| 26 | |
| 27 | func (m *Module) ptr() *C.wasmtime_module_t { |
| 28 | ret := m._ptr |
| 29 | if ret == nil { |
| 30 | panic("object has been closed already") |
| 31 | } |
| 32 | maybeGC() |
| 33 | return ret |
| 34 | } |
| 35 | |
| 36 | // Close will deallocate this module's state explicitly. |
| 37 | // |
no test coverage detected