mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-03 12:21:23 +00:00
fixed code generator for array of bools
Change-Id: I3cdd801b641bf180222203a37634598350d340e3
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
9689d38bef
commit
ac10873e26
@@ -13,6 +13,7 @@ public final class TestSimpleTableWithEnum extends Table {
|
||||
public TestSimpleTableWithEnum __init(int _i, ByteBuffer _bb) { bb_pos = _i; bb = _bb; return this; }
|
||||
|
||||
public byte color() { int o = __offset(4); return o != 0 ? bb.get(o + bb_pos) : 2; }
|
||||
public boolean mutateColor(byte color) { int o = __offset(4); if (o != 0) { bb.put(o + bb_pos, color); return true; } else { return false; } }
|
||||
|
||||
public static int createTestSimpleTableWithEnum(FlatBufferBuilder builder,
|
||||
byte color) {
|
||||
|
||||
Reference in New Issue
Block a user