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

Method ModuleOffset

trap.go:195–199  ·  view source on GitHub ↗

ModuleOffset returns offset of this frame's instruction into the original module

()

Source from the content-addressed store, hash-verified

193
194// ModuleOffset returns offset of this frame's instruction into the original module
195func (f *Frame) ModuleOffset() uint {
196 ret := uint(C.wasm_frame_module_offset(f.ptr()))
197 runtime.KeepAlive(f)
198 return ret
199}
200
201// FuncOffset returns offset of this frame's instruction into the original function
202func (f *Frame) FuncOffset() uint {

Callers

nothing calls this directly

Calls 1

ptrMethod · 0.95

Tested by

no test coverage detected