Files
moxa/stdlib/image_jpeg.go
Marc Vertes 25adc35a3c Change representation of stdlib from interface{} to reflect.Value
This fixes problems due to storing binary symbols as interfaces{}
instead of concrete type, which confuses lookup functions to retrieve
methods etc. in reflect.
2018-08-28 03:12:28 +02:00

24 lines
719 B
Go

package stdlib
// Generated by 'goexports image/jpeg'. Do not edit!
import (
"image/jpeg"
"reflect"
)
func init() {
Value["image/jpeg"] = map[string]reflect.Value{
"Decode": reflect.ValueOf(jpeg.Decode),
"DecodeConfig": reflect.ValueOf(jpeg.DecodeConfig),
"DefaultQuality": reflect.ValueOf(jpeg.DefaultQuality),
"Encode": reflect.ValueOf(jpeg.Encode),
}
Type["image/jpeg"] = map[string]reflect.Type{
"FormatError": reflect.TypeOf((*jpeg.FormatError)(nil)).Elem(),
"Options": reflect.TypeOf((*jpeg.Options)(nil)).Elem(),
"Reader": reflect.TypeOf((*jpeg.Reader)(nil)).Elem(),
"UnsupportedError": reflect.TypeOf((*jpeg.UnsupportedError)(nil)).Elem(),
}
}