summaryrefslogtreecommitdiffstats
path: root/generator/proto/nanopb.proto
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2016-11-22 17:25:24 +0200
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2016-11-22 17:25:24 +0200
commit69e9c1fc8162956feffa32e07a97c53bdb92f5ef (patch)
treedeb364082476307da9f64fcfc847cc7e50d09626 /generator/proto/nanopb.proto
parent82dd587c7b8d10150ab6683733863e2b7e34a428 (diff)
parent928becdc52d7c8805b0e4259e0682df56e637da7 (diff)
Merge branch 'wak-google-upstream1' (#223)
Diffstat (limited to 'generator/proto/nanopb.proto')
-rw-r--r--generator/proto/nanopb.proto3
1 files changed, 3 insertions, 0 deletions
diff --git a/generator/proto/nanopb.proto b/generator/proto/nanopb.proto
index b9961c88..f6fe4a20 100644
--- a/generator/proto/nanopb.proto
+++ b/generator/proto/nanopb.proto
@@ -69,6 +69,9 @@ message NanoPBOptions {
// Proto3 singular field does not generate a "has_" flag
optional bool proto3 = 12 [default = false];
+
+ // Generate an enum->string mapping function (can take up lots of space).
+ optional bool enum_to_string = 13 [default = false];
}
// Extensions to protoc 'Descriptor' type in order to define options