github.com/switchupcb/yaegi@v0.10.2/stdlib/go1_16_hash_adler32.go (about)

     1  // Code generated by 'yaegi extract hash/adler32'. DO NOT EDIT.
     2  
     3  // +build go1.16,!go1.17
     4  
     5  package stdlib
     6  
     7  import (
     8  	"go/constant"
     9  	"go/token"
    10  	"hash/adler32"
    11  	"reflect"
    12  )
    13  
    14  func init() {
    15  	Symbols["hash/adler32/adler32"] = map[string]reflect.Value{
    16  		// function, constant and variable definitions
    17  		"Checksum": reflect.ValueOf(adler32.Checksum),
    18  		"New":      reflect.ValueOf(adler32.New),
    19  		"Size":     reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)),
    20  	}
    21  }