commit | 69dc8e1c38a36677717485f545ce99031374b68e | [log] [tgz] |
---|---|---|
author | Elias Naur <elias.naur@gmail.com> | Tue Oct 04 18:25:44 2016 +0200 |
committer | Elias Naur <elias.naur@gmail.com> | Wed Oct 05 07:49:55 2016 +0000 |
tree | 08e531bfe80ad6c14be00e56354b564a43f46925 | |
parent | 3f7b83ffd484b70ccd24d66425b488dcf680e6da [diff] |
bind: allow implicit `this` argument on every exported method Before this CL, the implicit `this` arguments to methods on Java classes implemented in Go was only supported on overriding methods, because their parameter count are known. This CL expands support for the `this` parameter to every exported method. It only recognizes parameters named `this` declared with a Java wrapper type. Change-Id: I8a9d3417d259bdfcc28512a72f07d6a05f483adc Reviewed-on: https://go-review.googlesource.com/30276 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.