mirror of https://github.com/grpc/grpc.git
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
361 B
18 lines
361 B
8 years ago
|
/* 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];
|
||
|
}
|