summaryrefslogtreecommitdiffstats
path: root/libs/nanopb/tests/inline/inline.proto
blob: 6e511f0a256f67158bc4c19b192a328372989e8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* Test nanopb option parsing.
 * options.expected lists the patterns that are searched for in the output.
 */

syntax = "proto2";

import "nanopb.proto";

message Message1
{
    required bytes data = 1 [(nanopb).type = FT_INLINE, (nanopb).max_size = 32];
}

message Message2
{
    optional bytes data = 1 [(nanopb).type = FT_INLINE, (nanopb).max_size = 64];
}