github.com/goplus/igop@v0.25.0/pkg/compress/flate/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 flate 7 8 import ( 9 q "compress/flate" 10 11 "go/constant" 12 "reflect" 13 14 "github.com/goplus/igop" 15 ) 16 17 func init() { 18 igop.RegisterPackage(&igop.Package{ 19 Name: "flate", 20 Path: "compress/flate", 21 Deps: map[string]string{ 22 "bufio": "bufio", 23 "errors": "errors", 24 "fmt": "fmt", 25 "io": "io", 26 "math": "math", 27 "math/bits": "bits", 28 "sort": "sort", 29 "strconv": "strconv", 30 "sync": "sync", 31 }, 32 Interfaces: map[string]reflect.Type{ 33 "Reader": reflect.TypeOf((*q.Reader)(nil)).Elem(), 34 "Resetter": reflect.TypeOf((*q.Resetter)(nil)).Elem(), 35 }, 36 NamedTypes: map[string]reflect.Type{ 37 "CorruptInputError": reflect.TypeOf((*q.CorruptInputError)(nil)).Elem(), 38 "InternalError": reflect.TypeOf((*q.InternalError)(nil)).Elem(), 39 "ReadError": reflect.TypeOf((*q.ReadError)(nil)).Elem(), 40 "WriteError": reflect.TypeOf((*q.WriteError)(nil)).Elem(), 41 "Writer": reflect.TypeOf((*q.Writer)(nil)).Elem(), 42 }, 43 AliasTypes: map[string]reflect.Type{}, 44 Vars: map[string]reflect.Value{}, 45 Funcs: map[string]reflect.Value{ 46 "NewReader": reflect.ValueOf(q.NewReader), 47 "NewReaderDict": reflect.ValueOf(q.NewReaderDict), 48 "NewWriter": reflect.ValueOf(q.NewWriter), 49 "NewWriterDict": reflect.ValueOf(q.NewWriterDict), 50 }, 51 TypedConsts: map[string]igop.TypedConst{}, 52 UntypedConsts: map[string]igop.UntypedConst{ 53 "BestCompression": {"untyped int", constant.MakeInt64(int64(q.BestCompression))}, 54 "BestSpeed": {"untyped int", constant.MakeInt64(int64(q.BestSpeed))}, 55 "DefaultCompression": {"untyped int", constant.MakeInt64(int64(q.DefaultCompression))}, 56 "HuffmanOnly": {"untyped int", constant.MakeInt64(int64(q.HuffmanOnly))}, 57 "NoCompression": {"untyped int", constant.MakeInt64(int64(q.NoCompression))}, 58 }, 59 }) 60 }