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

Method ptr

trap.go:154–161  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

152}
153
154func (f *Frame) ptr() *C.wasm_frame_t {
155 ret := f._ptr
156 if ret == nil {
157 panic("object has been closed already")
158 }
159 maybeGC()
160 return ret
161}
162
163// FuncIndex returns the function index in the wasm module that this frame represents
164func (f *Frame) FuncIndex() uint32 {

Callers 5

FuncIndexMethod · 0.95
FuncNameMethod · 0.95
ModuleNameMethod · 0.95
ModuleOffsetMethod · 0.95
FuncOffsetMethod · 0.95

Calls 1

maybeGCFunction · 0.70

Tested by

no test coverage detected