github.com/goplus/gossa@v0.3.25/pkg/image/gif/go115_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //+build go1.15,!go1.16 4 5 package gif 6 7 import ( 8 q "image/gif" 9 10 "go/constant" 11 "reflect" 12 13 "github.com/goplus/gossa" 14 ) 15 16 func init() { 17 gossa.RegisterPackage(&gossa.Package{ 18 Name: "gif", 19 Path: "image/gif", 20 Deps: map[string]string{ 21 "bufio": "bufio", 22 "bytes": "bytes", 23 "compress/lzw": "lzw", 24 "errors": "errors", 25 "fmt": "fmt", 26 "image": "image", 27 "image/color": "color", 28 "image/color/palette": "palette", 29 "image/draw": "draw", 30 "io": "io", 31 }, 32 Interfaces: map[string]reflect.Type{}, 33 NamedTypes: map[string]gossa.NamedType{ 34 "GIF": {reflect.TypeOf((*q.GIF)(nil)).Elem(), "", ""}, 35 "Options": {reflect.TypeOf((*q.Options)(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 "DecodeAll": reflect.ValueOf(q.DecodeAll), 42 "DecodeConfig": reflect.ValueOf(q.DecodeConfig), 43 "Encode": reflect.ValueOf(q.Encode), 44 "EncodeAll": reflect.ValueOf(q.EncodeAll), 45 }, 46 TypedConsts: map[string]gossa.TypedConst{}, 47 UntypedConsts: map[string]gossa.UntypedConst{ 48 "DisposalBackground": {"untyped int", constant.MakeInt64(int64(q.DisposalBackground))}, 49 "DisposalNone": {"untyped int", constant.MakeInt64(int64(q.DisposalNone))}, 50 "DisposalPrevious": {"untyped int", constant.MakeInt64(int64(q.DisposalPrevious))}, 51 }, 52 }) 53 }