mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 04:04:19 +00:00
Break internal Java/C# APIs
This is done on purpose, to avoid API version mismatches that can cause bad decoding results, see: https://github.com/google/flatbuffers/issues/5368 Change-Id: I2c857438377e080caad0e2d8bcc758c9b19bd6ec
This commit is contained in:
@@ -15,9 +15,9 @@ public final class Monster extends Table {
|
||||
public Monster __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
|
||||
|
||||
|
||||
public static void startMonster(FlatBufferBuilder builder) { builder.startObject(0); }
|
||||
public static void startMonster(FlatBufferBuilder builder) { builder.startTable(0); }
|
||||
public static int endMonster(FlatBufferBuilder builder) {
|
||||
int o = builder.endObject();
|
||||
int o = builder.endTable();
|
||||
return o;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user