mirror of
https://github.com/google/flatbuffers.git
synced 2025-04-08 01:02:04 +08:00
Adds flag to the cpp to fix bad annotations in all the languages Addresses comments to the PR, and fixes logic for leaking annotations
18 lines
215 B
Plaintext
18 lines
215 B
Plaintext
enum AB:byte (private) {
|
|
A,
|
|
B,
|
|
}
|
|
|
|
struct Object (private) {
|
|
value: int;
|
|
}
|
|
|
|
union Any (private) { Game, Annotations }
|
|
|
|
table Game (private) {
|
|
value: int;
|
|
}
|
|
|
|
table Annotations (private) {
|
|
value: int;
|
|
} |