Files
yaegi/stdlib/go1_22_hash_crc64.go
ee5ed52051 feat: support go1.22
* 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]>
2024-03-05 17:56:04 +01:00

30 lines
831 B
Go

// Code generated by 'yaegi extract hash/crc64'. DO NOT EDIT.
//go:build go1.22
// +build go1.22
package stdlib
import (
"go/constant"
"go/token"
"hash/crc64"
"reflect"
)
func init() {
Symbols["hash/crc64/crc64"] = map[string]reflect.Value{
// function, constant and variable definitions
"Checksum": reflect.ValueOf(crc64.Checksum),
"ECMA": reflect.ValueOf(constant.MakeFromLiteral("14514072000185962306", token.INT, 0)),
"ISO": reflect.ValueOf(constant.MakeFromLiteral("15564440312192434176", token.INT, 0)),
"MakeTable": reflect.ValueOf(crc64.MakeTable),
"New": reflect.ValueOf(crc64.New),
"Size": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)),
"Update": reflect.ValueOf(crc64.Update),
// type definitions
"Table": reflect.ValueOf((*crc64.Table)(nil)),
}
}