github.com/goplus/igop@v0.25.0/pkg/container/heap/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 heap
     7  
     8  import (
     9  	q "container/heap"
    10  
    11  	"reflect"
    12  
    13  	"github.com/goplus/igop"
    14  )
    15  
    16  func init() {
    17  	igop.RegisterPackage(&igop.Package{
    18  		Name: "heap",
    19  		Path: "container/heap",
    20  		Deps: map[string]string{
    21  			"sort": "sort",
    22  		},
    23  		Interfaces: map[string]reflect.Type{
    24  			"Interface": reflect.TypeOf((*q.Interface)(nil)).Elem(),
    25  		},
    26  		NamedTypes: map[string]reflect.Type{},
    27  		AliasTypes: map[string]reflect.Type{},
    28  		Vars:       map[string]reflect.Value{},
    29  		Funcs: map[string]reflect.Value{
    30  			"Fix":    reflect.ValueOf(q.Fix),
    31  			"Init":   reflect.ValueOf(q.Init),
    32  			"Pop":    reflect.ValueOf(q.Pop),
    33  			"Push":   reflect.ValueOf(q.Push),
    34  			"Remove": reflect.ValueOf(q.Remove),
    35  		},
    36  		TypedConsts:   map[string]igop.TypedConst{},
    37  		UntypedConsts: map[string]igop.UntypedConst{},
    38  	})
    39  }