summaryrefslogtreecommitdiffstats
path: root/generator/proto
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2014-07-20 14:56:12 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2014-07-20 14:56:12 +0300
commit1d7f60fec30678ec7403786808026444a4b901e6 (patch)
treeda0708de343e04dcf4d5644cc60c44b1b27220c1 /generator/proto
parent5749606f5d2f0a0c64cb6e021b7bd40b74ce45ee (diff)
Add skip_message option to generator.
Update issue 121 Status: FixedInGit
Diffstat (limited to 'generator/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 2be2f803..9a4d6578 100644
--- a/generator/proto/nanopb.proto
+++ b/generator/proto/nanopb.proto
@@ -37,6 +37,9 @@ message NanoPBOptions {
// Note: this cannot be used on CPUs that break on unaligned
// accesses to variables.
optional bool packed_struct = 5 [default = false];
+
+ // Skip this message
+ optional bool skip_message = 6 [default = false];
}
// Extensions to protoc 'Descriptor' type in order to define options