Files
tinygo/src/runtime/stack.go
T
Cornel 720a54a0fe extend stdlib to allow import of more packages (#1099)
* stdlib: extend stdlib to allow import of more packages
2020-06-23 11:56:28 +02:00

21 lines
281 B
Go

package runtime
type Func struct {
}
func FuncForPC(pc uintptr) *Func {
return nil
}
func (f *Func) Name() string {
return ""
}
func Caller(skip int) (pc uintptr, file string, line int, ok bool) {
return 0, "", 0, false
}
func Stack(buf []byte, all bool) int {
return 0
}