MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime-go / ptr

Method ptr

component_feat_component_model.go:200–207  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

198}
199
200func (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.
210func (idx *ComponentExportIndex) Close() {

Callers

nothing calls this directly

Calls 1

maybeGCFunction · 0.70

Tested by

no test coverage detected