Code Review
/
apps
/
agl-service-can-low-level.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Always define enum long names so that cross-file references work.
[apps/agl-service-can-low-level.git]
/
tests
/
mem_release
/
mem_release.proto
diff --git
a/tests/mem_release/mem_release.proto
b/tests/mem_release/mem_release.proto
index
0db393a
..
c3b38c8
100644
(file)
--- a/
tests/mem_release/mem_release.proto
+++ b/
tests/mem_release/mem_release.proto
@@
-22,3
+22,13
@@
extend TestMessage
optional SubMessage static_ext = 101 [(nanopb).type = FT_STATIC];
}
+message OneofMessage
+{
+ required int32 first = 1;
+ oneof msgs
+ {
+ TestMessage msg1 = 2;
+ SubMessage msg2 = 3;
+ }
+ required int32 last = 4;
+}