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]>
23 lines
481 B
Go
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)),
|
|
}
|
|
}
|