This fixes problems due to storing binary symbols as interfaces{}
instead of concrete type, which confuses lookup functions to retrieve
methods etc. in reflect.
16 lines
267 B
Go
16 lines
267 B
Go
package stdlib
|
|
|
|
// Generated by 'goexports unsafe'. Do not edit!
|
|
|
|
import (
|
|
"reflect"
|
|
"unsafe"
|
|
)
|
|
|
|
func init() {
|
|
Value["unsafe"] = map[string]reflect.Value{}
|
|
Type["unsafe"] = map[string]reflect.Type{
|
|
"Pointer": reflect.TypeOf((*unsafe.Pointer)(nil)).Elem(),
|
|
}
|
|
}
|