1
0
mirror of https://github.com/golang/go synced 2024-11-21 23:34:42 -07:00

spec: values of underlying type uintptr can be converted to unsafe.Pointer

Not a language change, just stating the facts.

Fixes #1793.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5488071
This commit is contained in:
Robert Griesemer 2011-12-13 17:22:11 -08:00
parent 7b5ae29afd
commit 599c18fa3f

View File

@ -1,5 +1,5 @@
<!-- title The Go Programming Language Specification -->
<!-- subtitle Version of December 12, 2011 -->
<!-- subtitle Version of December 13, 2011 -->
<!--
TODO
@ -5260,7 +5260,7 @@ func Unreflect(typ runtime.Type, addr uintptr) interface{}
</pre>
<p>
Any pointer or value of type <code>uintptr</code> can be converted into
Any pointer or value of <a href="#Types">underlying type</a> <code>uintptr</code> can be converted into
a <code>Pointer</code> and vice versa.
</p>
<p>