* 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>
25 lines
567 B
Go
25 lines
567 B
Go
// Code generated by 'yaegi extract hash/maphash'. DO NOT EDIT.
|
|
|
|
//go:build go1.21 && !go1.22
|
|
// +build go1.21,!go1.22
|
|
|
|
package stdlib
|
|
|
|
import (
|
|
"hash/maphash"
|
|
"reflect"
|
|
)
|
|
|
|
func init() {
|
|
Symbols["hash/maphash/maphash"] = map[string]reflect.Value{
|
|
// function, constant and variable definitions
|
|
"Bytes": reflect.ValueOf(maphash.Bytes),
|
|
"MakeSeed": reflect.ValueOf(maphash.MakeSeed),
|
|
"String": reflect.ValueOf(maphash.String),
|
|
|
|
// type definitions
|
|
"Hash": reflect.ValueOf((*maphash.Hash)(nil)),
|
|
"Seed": reflect.ValueOf((*maphash.Seed)(nil)),
|
|
}
|
|
}
|