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

Method ptr

importtype.go:43–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 4

ModuleMethod · 0.95
NameMethod · 0.95
TypeMethod · 0.95
NewImportTypeFunction · 0.45

Calls 1

maybeGCFunction · 0.70

Tested by

no test coverage detected