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

Method ptr

functype.go:49–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47}
48
49func (ty *FuncType) ptr() *C.wasm_functype_t {
50 ret := ty._ptr
51 if ret == nil {
52 panic("object has been closed already")
53 }
54 maybeGC()
55 return ret
56}
57
58func (ty *FuncType) owner() interface{} {
59 if ty._owner != nil {

Callers 4

ParamsMethod · 0.95
ResultsMethod · 0.95
AsExternTypeMethod · 0.95
mkValTypeListFunction · 0.45

Calls 1

maybeGCFunction · 0.70

Tested by

no test coverage detected