mirror of
https://github.com/netbirdio/gomobile-tvos-fork.git
synced 2026-05-22 18:43:29 -07:00
bind: support reference types as struct fields.
Reference types here mean pointers to struct types and exported interface types. Previously, gobind generated invalid go/java sources. Change-Id: Icd666ebbb8edb70c613311798d602fd88cb4479c Reviewed-on: https://go-review.googlesource.com/9997 Reviewed-by: Alan Donovan <adonovan@google.com>
This commit is contained in:
committed by
Hyang-Ah Hana Kim
parent
536b3a3197
commit
b658bfdf39
Vendored
+1
@@ -42,6 +42,7 @@ public abstract class Structs {
|
||||
in.writeFloat64(v);
|
||||
Seq.send(DESCRIPTOR, FIELD_X_SET, in, out);
|
||||
}
|
||||
|
||||
public double getY() {
|
||||
Seq in = new Seq();
|
||||
Seq out = new Seq();
|
||||
|
||||
Reference in New Issue
Block a user