Skip to content

Commit 8cc7540

Browse files
committed
doc: describe cgo ptr->uintptr changes for 1.11.
Fixes #26721 Change-Id: Icc4660327a9ba668c88f8d9e0b9f206ba8f6dc27 Reviewed-on: https://go-review.googlesource.com/127975 Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 870e12d commit 8cc7540

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

doc/go1.11.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,19 @@ <h3 id="trace">Trace</h3>
311311
user task/region analysis page.
312312
</p>
313313

314+
<h3 id="cgo">Cgo</h3>
315+
316+
<p>
317+
Since Go 1.10, cgo has translated some C pointer types to the Go
318+
type <code>uintptr</code>. These types include
319+
the <code>CFTypeRef</code> hierarchy in Darwin's CoreFoundation
320+
framework and the <code>jobject</code> hierarchy in Java's JNI
321+
interface. In Go 1.11, several improvements have been made to the code
322+
that detects these types. Code that uses these types may need some
323+
updating. See the <a href="go1.10.html#cgo">Go 1.10 release notes</a> for
324+
details. <!-- CL 126275, CL 127156, CL 122217, CL 122575, CL 123177 -->
325+
</p>
326+
314327
<h3 id="godoc">Godoc</h3>
315328

316329
<p>

0 commit comments

Comments
 (0)