()
| 23 | } |
| 24 | |
| 25 | func (c *WasiConfig) ptr() *C.wasi_config_t { |
| 26 | ret := c._ptr |
| 27 | if ret == nil { |
| 28 | panic("object has been closed already") |
| 29 | } |
| 30 | maybeGC() |
| 31 | return ret |
| 32 | } |
| 33 | |
| 34 | // Close will deallocate this WASI configuration's state explicitly. |
| 35 | // |
no test coverage detected