github.com/switchupcb/yaegi@v0.10.2/stdlib/go1_16_image_gif.go (about) 1 // Code generated by 'yaegi extract image/gif'. DO NOT EDIT. 2 3 // +build go1.16,!go1.17 4 5 package stdlib 6 7 import ( 8 "go/constant" 9 "go/token" 10 "image/gif" 11 "reflect" 12 ) 13 14 func init() { 15 Symbols["image/gif/gif"] = map[string]reflect.Value{ 16 // function, constant and variable definitions 17 "Decode": reflect.ValueOf(gif.Decode), 18 "DecodeAll": reflect.ValueOf(gif.DecodeAll), 19 "DecodeConfig": reflect.ValueOf(gif.DecodeConfig), 20 "DisposalBackground": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), 21 "DisposalNone": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), 22 "DisposalPrevious": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), 23 "Encode": reflect.ValueOf(gif.Encode), 24 "EncodeAll": reflect.ValueOf(gif.EncodeAll), 25 26 // type definitions 27 "GIF": reflect.ValueOf((*gif.GIF)(nil)), 28 "Options": reflect.ValueOf((*gif.Options)(nil)), 29 } 30 }