diff options
author | Wouter van Oortmerssen <wvo@google.com> | 2015-10-05 17:39:08 -0700 |
---|---|---|
committer | Wouter van Oortmerssen <wvo@google.com> | 2015-10-13 14:01:55 -0700 |
commit | 94680f5483593b1a48c79b516d153fd432b3f2e8 (patch) | |
tree | 09dd61ca4adcf36f3867ee278b6179d96dba723f /tests/MyGame/Example/Stat.java | |
parent | b4db88808f5c1f8f36d2f67952c8b7b3022e28ea (diff) | |
download | flatbuffers-94680f5483593b1a48c79b516d153fd432b3f2e8.tar.gz flatbuffers-94680f5483593b1a48c79b516d153fd432b3f2e8.tar.bz2 flatbuffers-94680f5483593b1a48c79b516d153fd432b3f2e8.zip |
Added support for imports and many other .proto features.
Change-Id: I6600021b7ec8c486794349511232c3e604421c5b
Tested: on Linux.
Diffstat (limited to 'tests/MyGame/Example/Stat.java')
-rw-r--r-- | tests/MyGame/Example/Stat.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/MyGame/Example/Stat.java b/tests/MyGame/Example/Stat.java index 673729e1..73f95621 100644 --- a/tests/MyGame/Example/Stat.java +++ b/tests/MyGame/Example/Stat.java @@ -7,6 +7,7 @@ import java.lang.*; import java.util.*; import com.google.flatbuffers.*; +@SuppressWarnings("unused") public final class Stat extends Table { public static Stat getRootAsStat(ByteBuffer _bb) { return getRootAsStat(_bb, new Stat()); } public static Stat getRootAsStat(ByteBuffer _bb, Stat obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__init(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } |