Commit f8404ee3 authored by Gustavo Niemeyer's avatar Gustavo Niemeyer Committed by Robert Griesemer

spec: fix Typeof() return type

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/4121058
parent 76f32285
...@@ -5049,8 +5049,8 @@ func Alignof(variable ArbitraryType) int ...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment