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

Method ptr

extern.go:27–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25}
26
27func (e *Extern) ptr() *C.wasmtime_extern_t {
28 ret := e._ptr
29 if ret == nil {
30 panic("object already closed")
31 }
32 maybeGC()
33 return ret
34}
35
36// Close will deallocate this extern's state explicitly.
37//

Callers 6

TypeMethod · 0.95
FuncMethod · 0.95
GlobalMethod · 0.95
MemoryMethod · 0.95
TableMethod · 0.95
AsExternMethod · 0.95

Calls 1

maybeGCFunction · 0.70

Tested by

no test coverage detected