mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 04:04:19 +00:00
This is because they are incompatible with C++ and possibly other languages that make them minimum size 1 (to make sure multiple such objects don't reside at the same address). Forcing them to size 1 was also not practical, as that is requires updating the logic of a lot of implementations and thus possibly backwards incompatible. More here: https://github.com/google/flatbuffers/issues/4122 Change-Id: I2bfdc8597b7cfd2235bb4074bb2ae06f81f8e57d
13 lines
214 B
Plaintext
13 lines
214 B
Plaintext
include "include_test1.fbs";
|
|
include "sub/include_test2.fbs"; // should be skipped
|
|
|
|
namespace MyGame.OtherNameSpace;
|
|
|
|
enum FromInclude:long { IncludeVal }
|
|
|
|
struct Unused { a:int; }
|
|
|
|
table TableB {
|
|
a:TableA;
|
|
}
|