1syntax = "proto2";
2import 'nanopb.proto';
3
4message SubMessage {
5    optional int32 foo = 1 [(nanopb).type = FT_CALLBACK];
6}
7
8message MainMessage {
9    optional SubMessage bar = 1 [(nanopb).type = FT_POINTER];
10}
11
12