1syntax = "proto3";
2
3import "nanopb.proto";
4
5option(nanopb_fileopt).include = '<vector>';
6
7message SubMessage {
8  sint32 actual_value = 1;
9}
10
11message TestMessage {
12  // Instead of std::vector<SubMessage> callback handles wrapping/unwrapping of the int.
13  repeated SubMessage submessages = 1 [(nanopb).callback_datatype = "std::vector<int>"];
14}
15