diff options
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 |