github.com/traefik/yaegi@v0.15.1/stdlib/go1_19_image_gif.go (about)

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