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

Method ptr

exporttype.go:41–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39}
40
41func (ty *ExportType) ptr() *C.wasm_exporttype_t {
42 ret := ty._ptr
43 if ret == nil {
44 panic("object has been closed already")
45 }
46 maybeGC()
47 return ret
48}
49
50func (ty *ExportType) owner() interface{} {
51 if ty._owner != nil {

Callers 3

NameMethod · 0.95
TypeMethod · 0.95
NewExportTypeFunction · 0.45

Calls 1

maybeGCFunction · 0.70

Tested by

no test coverage detected