()
| 198 | } |
| 199 | |
| 200 | func (idx *ComponentExportIndex) ptr() *C.wasmtime_component_export_index_t { |
| 201 | ret := idx._ptr |
| 202 | if ret == nil { |
| 203 | panic("object has been closed already") |
| 204 | } |
| 205 | maybeGC() |
| 206 | return ret |
| 207 | } |
| 208 | |
| 209 | // Close deallocates this index explicitly. |
| 210 | func (idx *ComponentExportIndex) Close() { |