commit | 721e99406c0b086ed79dac5c457cd4e9f4424de5 | [log] [tgz] |
---|---|---|
author | Elias Naur <elias.naur@gmail.com> | Mon Apr 30 18:32:58 2018 +0200 |
committer | Elias Naur <elias.naur@gmail.com> | Mon Apr 30 16:43:58 2018 +0000 |
tree | 144ce46e92cd163cfbe4179508ac1af0afa1561a | |
parent | bf2d30a68adbdbf04567a46a14c557987cb02404 [diff] |
internal/mobileinit,bind/java,app: don't treat jobject as a pointer On Android, the JNI jobject type doesn't always contain a pointer. Treating a non-pointer as a pointer can crash the runtime. Use the more appropriate type uintptr instead. Change-Id: I2b2049918d60226c4d23d6df0b10e68248d54bc2 Reviewed-on: https://go-review.googlesource.com/110256 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
The Go mobile repository holds packages and build tools for using Go on mobile platforms.
Package documentation as a starting point:
The Go Mobile project is experimental. Use this at your own risk. While we are working hard to improve it, neither Google nor the Go team can provide end-user support.
This is early work and installing the build system requires Go 1.5. Follow the instructions on golang.org/wiki/Mobile to install the gomobile command, build the basic and the bind example apps.
Contributions to Go are appreciated. See https://golang.org/doc/contribute.html.