diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2015-04-03 19:46:57 +0300 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2015-04-03 19:47:00 +0300 |
commit | 90833934a28c4ed5dc57ec649ee3d37dca57fb89 (patch) | |
tree | 391809c491e6b52604bf7e3a254254be6b39cddd /docs/reference.rst | |
parent | 02652148fc9648e258f091298d7fae6159069823 (diff) |
Add basic docs for msgid functionality
Diffstat (limited to 'docs/reference.rst')
-rw-r--r-- | docs/reference.rst | 4 |
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 |