See comments in `ffi.go` for what's going on here
()
| 199 | |
| 200 | // See comments in `ffi.go` for what's going on here |
| 201 | func (cfg *Config) ptr() *C.wasm_config_t { |
| 202 | ret := cfg._ptr |
| 203 | if ret == nil { |
| 204 | panic("Config has already been used up") |
| 205 | } |
| 206 | maybeGC() |
| 207 | return ret |
| 208 | } |
| 209 | |
| 210 | // Close will deallocate this config's state explicitly. |
| 211 | // |
no test coverage detected