1
0
mirror of https://github.com/golang/go synced 2024-11-24 21:00:09 -07:00

spec: fix Typeof() return type

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/4121058
This commit is contained in:
Gustavo Niemeyer 2011-02-04 09:29:08 -08:00 committed by Robert Griesemer
parent 76f3228520
commit f8404ee3e1

View File

@ -5049,8 +5049,8 @@ func Alignof(variable ArbitraryType) int
func Offsetof(selector ArbitraryType) int func Offsetof(selector ArbitraryType) int
func Sizeof(variable ArbitraryType) int func Sizeof(variable ArbitraryType) int
func Reflect(val interface {}) (typ runtime.Type, addr uintptr) func Reflect(val interface{}) (typ runtime.Type, addr uintptr)
func Typeof(val interface {}) reflect.Type func Typeof(val interface{}) (typ interface{})
func Unreflect(typ runtime.Type, addr uintptr) interface{} func Unreflect(typ runtime.Type, addr uintptr) interface{}
</pre> </pre>