Files
yaegi/stdlib/go1_22_hash_adler32.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

23 lines
481 B
Go

// Code generated by 'yaegi extract hash/adler32'. DO NOT EDIT.
//go:build go1.22
// +build go1.22
package stdlib
import (
"go/constant"
"go/token"
"hash/adler32"
"reflect"
)
func init() {
Symbols["hash/adler32/adler32"] = map[string]reflect.Value{
// function, constant and variable definitions
"Checksum": reflect.ValueOf(adler32.Checksum),
"New": reflect.ValueOf(adler32.New),
"Size": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)),
}
}