diff options
author | Benjamin Kamath <ben.kamath@synapse.com> | 2015-11-04 16:42:25 -0800 |
---|---|---|
committer | Benjamin Kamath <ben.kamath@synapse.com> | 2015-11-10 22:35:46 -0800 |
commit | 9a8cc59703b227ff418cc55b4dc24f63eda64b62 (patch) | |
tree | 46fc92a7ef1021610386802a2616d05caad84e91 /generator/proto | |
parent | 6c136580a091a30e94aaebd66dd978117d999ad0 (diff) |
Add option to allow for anonymous unions
Diffstat (limited to 'generator/proto')
-rw-r--r-- | generator/proto/nanopb.proto | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/generator/proto/nanopb.proto b/generator/proto/nanopb.proto index b8671bbd..9b2f0fbc 100644 --- a/generator/proto/nanopb.proto +++ b/generator/proto/nanopb.proto @@ -62,6 +62,9 @@ message NanoPBOptions { // integer type tag for a message optional uint32 msgid = 9; + + // decode oneof as anonymous union + optional bool anonymous_oneof = 11 [default = false]; } // Extensions to protoc 'Descriptor' type in order to define options |