aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Randall <khr@google.com>2018-08-06 10:17:52 -0700
committerKeith Randall <khr@golang.org>2018-08-06 17:35:28 +0000
commit8cc7540ecb592e8f9fdb429c3c7f5ede9548dfca (patch)
treeb07cba9c9d44e0fcb5cd36de0c187264ebabc735
parent870e12d7bfaea70fb0d743842f5864eb059cb939 (diff)
downloadgo-8cc7540ecb592e8f9fdb429c3c7f5ede9548dfca.tar.gz
go-8cc7540ecb592e8f9fdb429c3c7f5ede9548dfca.zip
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 <bradfitz@golang.org>
-rw-r--r--doc/go1.11.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/go1.11.html b/doc/go1.11.html
index de3da01325..e76e21c52e 100644
--- a/doc/go1.11.html
+++ b/doc/go1.11.html
@@ -311,6 +311,19 @@ func f(v interface{}) {
user task/region analysis page.
</p>
+<h3 id="cgo">Cgo</h3>
+
+<p>
+Since Go 1.10, cgo has translated some C pointer types to the Go
+type <code>uintptr</code>. These types include
+the <code>CFTypeRef</code> hierarchy in Darwin's CoreFoundation
+framework and the <code>jobject</code> hierarchy in Java's JNI
+interface. In Go 1.11, several improvements have been made to the code
+that detects these types. Code that uses these types may need some
+updating. See the <a href="go1.10.html#cgo">Go 1.10 release notes</a> for
+details. <!-- CL 126275, CL 127156, CL 122217, CL 122575, CL 123177 -->
+</p>
+
<h3 id="godoc">Godoc</h3>
<p>