aboutsummaryrefslogtreecommitdiff
path: root/tests/common/unittestproto.proto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/common/unittestproto.proto')
-rw-r--r--tests/common/unittestproto.proto7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/common/unittestproto.proto b/tests/common/unittestproto.proto
index eb3e7de..23b5b97 100644
--- a/tests/common/unittestproto.proto
+++ b/tests/common/unittestproto.proto
@@ -1,3 +1,5 @@
+syntax = "proto2";
+
import 'nanopb.proto';
message IntegerArray {
@@ -34,3 +36,8 @@ message CallbackContainer {
message CallbackContainerContainer {
required CallbackContainer submsg = 1;
}
+
+message StringPointerContainer {
+ repeated string rep_str = 1 [(nanopb).type = FT_POINTER];
+}
+