From: Keith Randall Date: Mon, 6 Aug 2018 17:17:52 +0000 (-0700) Subject: doc: describe cgo ptr->uintptr changes for 1.11. X-Git-Tag: go1.11rc1~46 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8cc7540ecb592e8f9fdb429c3c7f5ede9548dfca;p=gostls13.git 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 --- 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.

+

Cgo

+ +

+Since Go 1.10, cgo has translated some C pointer types to the Go +type uintptr. These types include +the CFTypeRef hierarchy in Darwin's CoreFoundation +framework and the jobject 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 Go 1.10 release notes for +details. +

+

Godoc