ModuleOffset returns offset of this frame's instruction into the original module
()
| 193 | |
| 194 | // ModuleOffset returns offset of this frame's instruction into the original module |
| 195 | func (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 |
| 202 | func (f *Frame) FuncOffset() uint { |