aboutsummaryrefslogtreecommitdiffstats
path: root/generator/nanopb.proto
diff options
context:
space:
mode:
Diffstat (limited to 'generator/nanopb.proto')
-rw-r--r--generator/nanopb.proto8
1 files changed, 8 insertions, 0 deletions
diff --git a/generator/nanopb.proto b/generator/nanopb.proto
index 2610cd5c..a377f63b 100644
--- a/generator/nanopb.proto
+++ b/generator/nanopb.proto
@@ -20,6 +20,14 @@ message NanoPBOptions {
// Extensions: 1010 (all types)
// --------------------------------
+extend google.protobuf.FileOptions {
+ optional NanoPBOptions nanopb_fileopt = 1010;
+}
+
+extend google.protobuf.MessageOptions {
+ optional NanoPBOptions nanopb_msgopt = 1010;
+}
+
extend google.protobuf.FieldOptions {
optional NanoPBOptions nanopb = 1010;
}