github.com/goplus/igop@v0.25.0/pkg/hash/maphash/go119_export.go (about)

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //go:build go1.19 && !go1.20
     4  // +build go1.19,!go1.20
     5  
     6  package maphash
     7  
     8  import (
     9  	q "hash/maphash"
    10  
    11  	"reflect"
    12  
    13  	"github.com/goplus/igop"
    14  )
    15  
    16  func init() {
    17  	igop.RegisterPackage(&igop.Package{
    18  		Name: "maphash",
    19  		Path: "hash/maphash",
    20  		Deps: map[string]string{
    21  			"internal/unsafeheader": "unsafeheader",
    22  			"unsafe":                "unsafe",
    23  		},
    24  		Interfaces: map[string]reflect.Type{},
    25  		NamedTypes: map[string]reflect.Type{
    26  			"Hash": reflect.TypeOf((*q.Hash)(nil)).Elem(),
    27  			"Seed": reflect.TypeOf((*q.Seed)(nil)).Elem(),
    28  		},
    29  		AliasTypes: map[string]reflect.Type{},
    30  		Vars:       map[string]reflect.Value{},
    31  		Funcs: map[string]reflect.Value{
    32  			"Bytes":    reflect.ValueOf(q.Bytes),
    33  			"MakeSeed": reflect.ValueOf(q.MakeSeed),
    34  			"String":   reflect.ValueOf(q.String),
    35  		},
    36  		TypedConsts:   map[string]igop.TypedConst{},
    37  		UntypedConsts: map[string]igop.UntypedConst{},
    38  	})
    39  }