github.com/goplus/igop@v0.25.0/pkg/image/jpeg/go118_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //go:build go1.18 && !go1.19 4 // +build go1.18,!go1.19 5 6 package jpeg 7 8 import ( 9 q "image/jpeg" 10 11 "go/constant" 12 "reflect" 13 14 "github.com/goplus/igop" 15 ) 16 17 func init() { 18 igop.RegisterPackage(&igop.Package{ 19 Name: "jpeg", 20 Path: "image/jpeg", 21 Deps: map[string]string{ 22 "bufio": "bufio", 23 "errors": "errors", 24 "image": "image", 25 "image/color": "color", 26 "image/internal/imageutil": "imageutil", 27 "io": "io", 28 }, 29 Interfaces: map[string]reflect.Type{ 30 "Reader": reflect.TypeOf((*q.Reader)(nil)).Elem(), 31 }, 32 NamedTypes: map[string]reflect.Type{ 33 "FormatError": reflect.TypeOf((*q.FormatError)(nil)).Elem(), 34 "Options": reflect.TypeOf((*q.Options)(nil)).Elem(), 35 "UnsupportedError": reflect.TypeOf((*q.UnsupportedError)(nil)).Elem(), 36 }, 37 AliasTypes: map[string]reflect.Type{}, 38 Vars: map[string]reflect.Value{}, 39 Funcs: map[string]reflect.Value{ 40 "Decode": reflect.ValueOf(q.Decode), 41 "DecodeConfig": reflect.ValueOf(q.DecodeConfig), 42 "Encode": reflect.ValueOf(q.Encode), 43 }, 44 TypedConsts: map[string]igop.TypedConst{}, 45 UntypedConsts: map[string]igop.UntypedConst{ 46 "DefaultQuality": {"untyped int", constant.MakeInt64(int64(q.DefaultQuality))}, 47 }, 48 }) 49 }