| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
package stdlib |
| 7 |
|
| 8 |
import ( |
| 9 |
"image/png" |
| 10 |
"reflect" |
| 11 |
) |
| 12 |
|
| 13 |
func init() { |
| 14 |
Symbols["image/png/png"] = map[string]reflect.Value{ |
| 15 |
|
| 16 |
"BestCompression": reflect.ValueOf(png.BestCompression), |
| 17 |
"BestSpeed": reflect.ValueOf(png.BestSpeed), |
| 18 |
"Decode": reflect.ValueOf(png.Decode), |
| 19 |
"DecodeConfig": reflect.ValueOf(png.DecodeConfig), |
| 20 |
"DefaultCompression": reflect.ValueOf(png.DefaultCompression), |
| 21 |
"Encode": reflect.ValueOf(png.Encode), |
| 22 |
"NoCompression": reflect.ValueOf(png.NoCompression), |
| 23 |
|
| 24 |
|
| 25 |
"CompressionLevel": reflect.ValueOf((*png.CompressionLevel)(nil)), |
| 26 |
"Encoder": reflect.ValueOf((*png.Encoder)(nil)), |
| 27 |
"EncoderBuffer": reflect.ValueOf((*png.EncoderBuffer)(nil)), |
| 28 |
"EncoderBufferPool": reflect.ValueOf((*png.EncoderBufferPool)(nil)), |
| 29 |
"FormatError": reflect.ValueOf((*png.FormatError)(nil)), |
| 30 |
"UnsupportedError": reflect.ValueOf((*png.UnsupportedError)(nil)), |
| 31 |
|
| 32 |
|
| 33 |
"_EncoderBufferPool": reflect.ValueOf((*_image_png_EncoderBufferPool)(nil)), |
| 34 |
} |
| 35 |
} |
| 36 |
|
| 37 |
|
| 38 |
type _image_png_EncoderBufferPool struct { |
| 39 |
IValue interface{} |
| 40 |
WGet func() *png.EncoderBuffer |
| 41 |
WPut func(a0 *png.EncoderBuffer) |
| 42 |
} |
| 43 |
|
| 44 |
func (W _image_png_EncoderBufferPool) Get() *png.EncoderBuffer { return W.WGet() } |
| 45 |
func (W _image_png_EncoderBufferPool) Put(a0 *png.EncoderBuffer) { W.WPut(a0) } |