mobile/bind/seq
Elias Naur 959f80f9a9 bind: use runtime.KeepAlive to keep foreign references alive
With Go 1.8 to be released, runtime.KeepAlive is now necessary to
make sure a reference to a foreign object is not garbage collected
and finalized before we get a chance to increment its reference
count.

runtime.KeepAlive was introduced in Go 1.7 which is the minimum
version required by gomobile.

Change-Id: I32215f96e4f415ff9be7b979dd3677e067b8d201
Reviewed-on: https://go-review.googlesource.com/35954
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2017-01-30 19:33:00 +00:00
..
ref.go bind: use runtime.KeepAlive to keep foreign references alive 2017-01-30 19:33:00 +00:00
seq.go mobile/bind: fix a reference count race with the garbage collectors 2016-03-30 18:24:55 +00:00
string.go mobile/bind: avoid intermediate []rune copy converting Java string to Go 2016-03-05 10:02:05 +00:00
string_test.go mobile/bind: replace seq serialization with direct calls 2016-03-03 15:03:45 +00:00