flatbuffers/tests/private_annotation_test.fbs
mustiikhalil 11a1988705
Started implementation for private flags in rust (#7269)
Adds flag to the cpp to fix bad annotations in all the languages

Addresses comments to the PR, and fixes logic for leaking annotations
2022-06-05 23:04:05 +02:00

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;
}