diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2013-10-23 21:01:11 +0300 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2013-10-23 21:01:11 +0300 |
commit | 49bd3f35a0b6db0fa47d2e6e8fe9ddfb1bbcd58b (patch) | |
tree | 53be9a0ea9447bc5afae519512f26f36368b4b3d /tests/message_sizes/messages2.proto | |
parent | 2bfd497eea857d19a09054c5c54f3718b08dc8c9 (diff) |
Generate message size #defines also for messages defined in multiple files.
Add testcase for the same.
Diffstat (limited to 'tests/message_sizes/messages2.proto')
-rw-r--r-- | tests/message_sizes/messages2.proto | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/message_sizes/messages2.proto b/tests/message_sizes/messages2.proto new file mode 100644 index 00000000..19fc11ef --- /dev/null +++ b/tests/message_sizes/messages2.proto @@ -0,0 +1,8 @@ +import 'nanopb.proto'; +import 'messages1.proto'; + +message xmit { + required MessageHeader header = 1; + required bytes data = 2 [(nanopb).max_size = 128]; +} + |