mirror of
https://github.com/golang/go
synced 2024-11-22 05:34:39 -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:
parent
7b5ae29afd
commit
599c18fa3f
@ -1,5 +1,5 @@
|
|||||||
<!-- title The Go Programming Language Specification -->
|
<!-- title The Go Programming Language Specification -->
|
||||||
<!-- subtitle Version of December 12, 2011 -->
|
<!-- subtitle Version of December 13, 2011 -->
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
TODO
|
TODO
|
||||||
@ -5260,7 +5260,7 @@ func Unreflect(typ runtime.Type, addr uintptr) interface{}
|
|||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>
|
<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.
|
a <code>Pointer</code> and vice versa.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
|
Loading…
Reference in New Issue
Block a user