Code Review
/
apps
/
agl-service-can-low-level.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
ef42265
)
nanopb.proto: add msgid message-level option
author
Michael Haberler
<git@mah.priv.at>
Sun, 22 Mar 2015 01:17:30 +0000
(
02:17
+0100)
committer
Petteri Aimonen
<jpa@git.mail.kapsi.fi>
Sun, 22 Mar 2015 09:06:59 +0000
(11:06 +0200)
generator/proto/nanopb.proto
patch
|
blob
|
history
diff --git
a/generator/proto/nanopb.proto
b/generator/proto/nanopb.proto
index
a1b2493
..
3f2ed8e
100644
(file)
--- a/
generator/proto/nanopb.proto
+++ b/
generator/proto/nanopb.proto
@@
-56,6
+56,9
@@
message NanoPBOptions {
// Generate oneof fields as normal optional fields instead of union.
optional bool no_unions = 8 [default = false];
+
+ // integer type tag for a message
+ optional uint32 msgid = 9;
}
// Extensions to protoc 'Descriptor' type in order to define options