1
0
mirror of https://github.com/golang/go synced 2024-11-24 21:10:04 -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

@ -5050,7 +5050,7 @@ func Offsetof(selector ArbitraryType) int
func Sizeof(variable ArbitraryType) int
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{}
</pre>