github.com/goplus/igop@v0.25.0/pkg/unicode/utf16/go114_export.go (about)

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //+build go1.14,!go1.15
     4  
     5  package utf16
     6  
     7  import (
     8  	q "unicode/utf16"
     9  
    10  	"reflect"
    11  
    12  	"github.com/goplus/igop"
    13  )
    14  
    15  func init() {
    16  	igop.RegisterPackage(&igop.Package{
    17  		Name:       "utf16",
    18  		Path:       "unicode/utf16",
    19  		Deps:       map[string]string{},
    20  		Interfaces: map[string]reflect.Type{},
    21  		NamedTypes: map[string]reflect.Type{},
    22  		AliasTypes: map[string]reflect.Type{},
    23  		Vars:       map[string]reflect.Value{},
    24  		Funcs: map[string]reflect.Value{
    25  			"Decode":      reflect.ValueOf(q.Decode),
    26  			"DecodeRune":  reflect.ValueOf(q.DecodeRune),
    27  			"Encode":      reflect.ValueOf(q.Encode),
    28  			"EncodeRune":  reflect.ValueOf(q.EncodeRune),
    29  			"IsSurrogate": reflect.ValueOf(q.IsSurrogate),
    30  		},
    31  		TypedConsts:   map[string]igop.TypedConst{},
    32  		UntypedConsts: map[string]igop.UntypedConst{},
    33  	})
    34  }