mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 04:04:19 +00:00
Reflection: generically copy (parts of) FlatBuffers.
Change-Id: Ief3f1507c003079eac90c2bb6c2abd64a80a0a34 Tested: on Linux.
This commit is contained in:
@@ -23,7 +23,7 @@ enum BaseType : byte {
|
||||
String,
|
||||
Vector,
|
||||
Obj, // Used for tables & structs.
|
||||
Union //
|
||||
Union
|
||||
}
|
||||
|
||||
table Type {
|
||||
@@ -63,6 +63,8 @@ table Object { // Used for both tables and structs.
|
||||
name:string (required, key);
|
||||
fields:[Field] (required); // Sorted.
|
||||
is_struct:bool = false;
|
||||
minalign:int;
|
||||
bytesize:int; // For structs.
|
||||
}
|
||||
|
||||
table Schema {
|
||||
|
||||
Reference in New Issue
Block a user