| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 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 |
|
| 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 |
|
| 28 |
"GIF": reflect.ValueOf((*gif.GIF)(nil)), |
| 29 |
"Options": reflect.ValueOf((*gif.Options)(nil)), |
| 30 |
} |
| 31 |
} |