12 lines
212 B
Protocol Buffer
12 lines
212 B
Protocol Buffer
syntax = "proto2";
|
|
import 'nanopb.proto';
|
|
|
|
message SubMessage {
|
|
optional int32 foo = 1 [(nanopb).type = FT_CALLBACK];
|
|
}
|
|
|
|
message MainMessage {
|
|
optional SubMessage bar = 1 [(nanopb).type = FT_POINTER];
|
|
}
|
|
|