diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2012-10-29 18:55:49 +0200 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2012-10-29 18:55:49 +0200 |
commit | db1eefc24bd9d1181dee35683c5fe12329f7d969 (patch) | |
tree | cc38ed9ba2fe8ca9b63b1ca9c9077bd9658a0245 /tests/options.proto | |
parent | 0ee4bb96b1e53d16a29869864eff87c8934894ae (diff) |
Add option to use short names for enum values.
Update issue 38
Status: FixedInGit
Diffstat (limited to 'tests/options.proto')
-rw-r--r-- | tests/options.proto | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/options.proto b/tests/options.proto index 6ba7c070..e296bcd1 100644 --- a/tests/options.proto +++ b/tests/options.proto @@ -31,3 +31,9 @@ message Message4 required int32 int32_callback = 1 [(nanopb).type = FT_CALLBACK]; } +// Short enum names +enum Enum1 +{ + option (nanopb_enumopt).long_names = false; + EnumValue1 = 1; +} |