Allow defining field type in .proto.

Update issue 30
Status: FixedInGit
This commit is contained in:
Petteri Aimonen
2012-10-29 18:34:24 +02:00
parent 28b0136ea4
commit 0ee4bb96b1
5 changed files with 68 additions and 8 deletions

View File

@@ -25,4 +25,9 @@ message Message3
required string fieldsize = 1 [(nanopb).max_size = 40];
}
// Forced callback field
message Message4
{
required int32 int32_callback = 1 [(nanopb).type = FT_CALLBACK];
}