github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/src/runtime/stack.go (about) 1 package runtime 2 3 type Func struct { 4 } 5 6 func FuncForPC(pc uintptr) *Func { 7 return nil 8 } 9 10 func (f *Func) Name() string { 11 return "" 12 } 13 14 func (f *Func) FileLine(pc uintptr) (file string, line int) { 15 return "", 0 16 } 17 18 func Caller(skip int) (pc uintptr, file string, line int, ok bool) { 19 return 0, "", 0, false 20 } 21 22 func Stack(buf []byte, all bool) int { 23 return 0 24 }