summaryrefslogtreecommitdiff
path: root/reflection
diff options
context:
space:
mode:
authorWouter van Oortmerssen <aardappel@gmail.com>2017-02-13 16:15:55 -0800
committerWouter van Oortmerssen <aardappel@gmail.com>2017-02-13 16:47:17 -0800
commit1fb6b9ee6f817befae08f39549d5bd80de3931cc (patch)
treefb670b051bfaf459b723963a9f2a238151ee8205 /reflection
parent2d6e8f096b73d99ceeb75db93ee312d42f2e7db8 (diff)
downloadflatbuffers-1fb6b9ee6f817befae08f39549d5bd80de3931cc.tar.gz
flatbuffers-1fb6b9ee6f817befae08f39549d5bd80de3931cc.tar.bz2
flatbuffers-1fb6b9ee6f817befae08f39549d5bd80de3931cc.zip
Added doc comments to the binary schema.
Change-Id: I87f291ab6e07b1425850cae25ed500db594f17c8 Tested: on Linux.
Diffstat (limited to 'reflection')
-rw-r--r--reflection/reflection.fbs3
1 files changed, 3 insertions, 0 deletions
diff --git a/reflection/reflection.fbs b/reflection/reflection.fbs
index 57f234c6..76ccf85c 100644
--- a/reflection/reflection.fbs
+++ b/reflection/reflection.fbs
@@ -51,6 +51,7 @@ table Enum {
is_union:bool = false;
underlying_type:Type (required);
attributes:[KeyValue];
+ documentation:[string];
}
table Field {
@@ -64,6 +65,7 @@ table Field {
required:bool = false;
key:bool = false;
attributes:[KeyValue];
+ documentation:[string];
}
table Object { // Used for both tables and structs.
@@ -73,6 +75,7 @@ table Object { // Used for both tables and structs.
minalign:int;
bytesize:int; // For structs.
attributes:[KeyValue];
+ documentation:[string];
}
table Schema {