Code Review
/
apps
/
agl-service-can-low-level.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Separation Generator to a dedicated repo
[apps/agl-service-can-low-level.git]
/
libs
/
nanopb
/
tests
/
enum_to_string
/
enum.proto
1
/* Test enum to string function generation */
2
3
syntax = "proto2";
4
5
import "nanopb.proto";
6
7
option (nanopb_fileopt).enum_to_string = true;
8
9
enum MyEnum {
10
VALUE1 = 1;
11
VALUE2 = 2;
12
VALUE15 = 15;
13
}
14
15
enum MyShortNameEnum {
16
option (nanopb_enumopt).long_names = false;
17
MSNE_VALUE256 = 256;
18
}
19