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

Method ptr

store.go:108–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

106}
107
108func (store *Store) ptr() *C.wasmtime_store_t {
109 ret := store._ptr
110 if ret == nil {
111 panic("object has been closed already")
112 }
113 maybeGC()
114 return ret
115}
116
117// Close will deallocate this store's state explicitly.
118//

Callers 3

ContextMethod · 0.95
LimiterMethod · 0.95
NewStoreWithDataFunction · 0.45

Calls 1

maybeGCFunction · 0.70

Tested by

no test coverage detected