| 1 | // Package syscall provide wrapper of standard library syscall package for native import in Yaegi. |
| 2 | package syscall |
| 3 | |
| 4 | import "reflect" |
| 5 | |
| 6 | // Symbols stores the map of syscall package symbols. |
| 7 | var Symbols = map[string]map[string]reflect.Value{} |
| 8 | |
| 9 | func init() { |
| 10 | Symbols["github.com/traefik/yaegi/stdlib/syscall/syscall"] = map[string]reflect.Value{ |
| 11 | "Symbols": reflect.ValueOf(Symbols), |
| 12 | } |
| 13 | } |
| 14 | |
| 15 | //go:generate ../../internal/cmd/extract/extract -exclude=^Exec,Exit,ForkExec,Kill,Ptrace,Reboot,Shutdown,StartProcess,Syscall syscall |