aboutsummaryrefslogtreecommitdiffstats
path: root/tests/options/options.proto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/options/options.proto')
-rw-r--r--tests/options/options.proto3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/options/options.proto b/tests/options/options.proto
index cdcffeb7..b7050418 100644
--- a/tests/options/options.proto
+++ b/tests/options/options.proto
@@ -22,12 +22,14 @@ message Message2
// Field level options
message Message3
{
+ option (nanopb_msgopt).msgid = 103;
required string fieldsize = 1 [(nanopb).max_size = 40];
}
// Forced callback field
message Message4
{
+ option (nanopb_msgopt).msgid = 104;
required int32 int32_callback = 1 [(nanopb).type = FT_CALLBACK];
}
@@ -47,6 +49,7 @@ message EnumTest
// Short enum names inside message
message Message5
{
+ option (nanopb_msgopt).msgid = 105;
enum Enum2
{
option (nanopb_enumopt).long_names = false;