FuncIndex returns the function index in the wasm module that this frame represents
()
| 162 | |
| 163 | // FuncIndex returns the function index in the wasm module that this frame represents |
| 164 | func (f *Frame) FuncIndex() uint32 { |
| 165 | ret := C.wasm_frame_func_index(f.ptr()) |
| 166 | runtime.KeepAlive(f) |
| 167 | return uint32(ret) |
| 168 | } |
| 169 | |
| 170 | // FuncName returns the name, if available, for this frame's function |
| 171 | func (f *Frame) FuncName() *string { |