github.com/goplus/igop@v0.25.0/pkg/image/png/go115_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //+build go1.15,!go1.16 4 5 package png 6 7 import ( 8 q "image/png" 9 10 "go/constant" 11 "reflect" 12 13 "github.com/goplus/igop" 14 ) 15 16 func init() { 17 igop.RegisterPackage(&igop.Package{ 18 Name: "png", 19 Path: "image/png", 20 Deps: map[string]string{ 21 "bufio": "bufio", 22 "compress/zlib": "zlib", 23 "encoding/binary": "binary", 24 "fmt": "fmt", 25 "hash": "hash", 26 "hash/crc32": "crc32", 27 "image": "image", 28 "image/color": "color", 29 "io": "io", 30 "strconv": "strconv", 31 }, 32 Interfaces: map[string]reflect.Type{ 33 "EncoderBufferPool": reflect.TypeOf((*q.EncoderBufferPool)(nil)).Elem(), 34 }, 35 NamedTypes: map[string]reflect.Type{ 36 "CompressionLevel": reflect.TypeOf((*q.CompressionLevel)(nil)).Elem(), 37 "Encoder": reflect.TypeOf((*q.Encoder)(nil)).Elem(), 38 "EncoderBuffer": reflect.TypeOf((*q.EncoderBuffer)(nil)).Elem(), 39 "FormatError": reflect.TypeOf((*q.FormatError)(nil)).Elem(), 40 "UnsupportedError": reflect.TypeOf((*q.UnsupportedError)(nil)).Elem(), 41 }, 42 AliasTypes: map[string]reflect.Type{}, 43 Vars: map[string]reflect.Value{}, 44 Funcs: map[string]reflect.Value{ 45 "Decode": reflect.ValueOf(q.Decode), 46 "DecodeConfig": reflect.ValueOf(q.DecodeConfig), 47 "Encode": reflect.ValueOf(q.Encode), 48 }, 49 TypedConsts: map[string]igop.TypedConst{ 50 "BestCompression": {reflect.TypeOf(q.BestCompression), constant.MakeInt64(int64(q.BestCompression))}, 51 "BestSpeed": {reflect.TypeOf(q.BestSpeed), constant.MakeInt64(int64(q.BestSpeed))}, 52 "DefaultCompression": {reflect.TypeOf(q.DefaultCompression), constant.MakeInt64(int64(q.DefaultCompression))}, 53 "NoCompression": {reflect.TypeOf(q.NoCompression), constant.MakeInt64(int64(q.NoCompression))}, 54 }, 55 UntypedConsts: map[string]igop.UntypedConst{}, 56 }) 57 }