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

Method FuncOffset

trap.go:202–206  ·  view source on GitHub ↗

FuncOffset returns offset of this frame's instruction into the original function

()

Source from the content-addressed store, hash-verified

200
201// FuncOffset returns offset of this frame's instruction into the original function
202func (f *Frame) FuncOffset() uint {
203 ret := uint(C.wasm_frame_func_offset(f.ptr()))
204 runtime.KeepAlive(f)
205 return ret
206}

Callers

nothing calls this directly

Calls 1

ptrMethod · 0.95

Tested by

no test coverage detected