summaryrefslogtreecommitdiffstats
path: root/docs/reference.rst
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2015-04-03 19:46:57 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2015-04-03 19:47:00 +0300
commit90833934a28c4ed5dc57ec649ee3d37dca57fb89 (patch)
tree391809c491e6b52604bf7e3a254254be6b39cddd /docs/reference.rst
parent02652148fc9648e258f091298d7fae6159069823 (diff)
Add basic docs for msgid functionality
Diffstat (limited to 'docs/reference.rst')
-rw-r--r--docs/reference.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/reference.rst b/docs/reference.rst
index e16500ad..296bc78c 100644
--- a/docs/reference.rst
+++ b/docs/reference.rst
@@ -91,6 +91,10 @@ packed_struct Make the generated structures packed.
NOTE: This cannot be used on CPUs that break
on unaligned accesses to variables.
skip_message Skip the whole message from generation.
+no_unions Generate 'oneof' fields as optional fields
+ instead of C unions.
+msgid Specifies a unique id for this message type.
+ Can be used by user code as an identifier.
============================ ================================================
These options can be defined for the .proto files before they are converted