commit | 9cdfd16af3f3247be8a466a851cedcd3cf84d6ad | [log] [tgz] |
---|---|---|
author | Meir Fischer <meirfischer@gmail.com> | Sun Aug 16 00:39:31 2015 -0400 |
committer | David Crawshaw <crawshaw@golang.org> | Mon Nov 30 20:03:33 2015 +0000 |
tree | fa3b54888e604714c90a93885d1cdc8aeb0d528f | |
parent | 7b89485f3d6afad4291ffb1db3e48e0b7039a043 [diff] |
bind: use single Ref for null objects The aim of the RefTracker is to "... pin Java objects so they don't get GCed while the only reference to them is held by Go code." But in the case of null objects there is nothing to GC. Therefore we do return a single Ref which contains a null object, but we ignore the logic that is used to pin for GC purposes. Change-Id: If3771ec0180d09485963c3297abccb39a1a8d9ab Reviewed-on: https://go-review.googlesource.com/13647 Reviewed-by: David Crawshaw <crawshaw@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.