* feat: support go1.22 * Temporary fix for consistency tests due to language change in for loops * review: clean old files --------- Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
24 lines
605 B
Go
24 lines
605 B
Go
// Code generated by 'yaegi extract os/signal'. DO NOT EDIT.
|
|
|
|
//go:build go1.21 && !go1.22
|
|
// +build go1.21,!go1.22
|
|
|
|
package stdlib
|
|
|
|
import (
|
|
"os/signal"
|
|
"reflect"
|
|
)
|
|
|
|
func init() {
|
|
Symbols["os/signal/signal"] = map[string]reflect.Value{
|
|
// function, constant and variable definitions
|
|
"Ignore": reflect.ValueOf(signal.Ignore),
|
|
"Ignored": reflect.ValueOf(signal.Ignored),
|
|
"Notify": reflect.ValueOf(signal.Notify),
|
|
"NotifyContext": reflect.ValueOf(signal.NotifyContext),
|
|
"Reset": reflect.ValueOf(signal.Reset),
|
|
"Stop": reflect.ValueOf(signal.Stop),
|
|
}
|
|
}
|