mirror of
https://github.com/hanzoai/yaegi.git
synced 2026-10-01 00:49:47 +00:00
* 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 <[email protected]>
24 lines
520 B
Go
24 lines
520 B
Go
// Code generated by 'yaegi extract hash/fnv'. DO NOT EDIT.
|
|
|
|
//go:build go1.22
|
|
// +build go1.22
|
|
|
|
package stdlib
|
|
|
|
import (
|
|
"hash/fnv"
|
|
"reflect"
|
|
)
|
|
|
|
func init() {
|
|
Symbols["hash/fnv/fnv"] = map[string]reflect.Value{
|
|
// function, constant and variable definitions
|
|
"New128": reflect.ValueOf(fnv.New128),
|
|
"New128a": reflect.ValueOf(fnv.New128a),
|
|
"New32": reflect.ValueOf(fnv.New32),
|
|
"New32a": reflect.ValueOf(fnv.New32a),
|
|
"New64": reflect.ValueOf(fnv.New64),
|
|
"New64a": reflect.ValueOf(fnv.New64a),
|
|
}
|
|
}
|