tinygo/src/runtime/stack.go
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

20 строки
281 Б
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
}