aboutsummaryrefslogtreecommitdiffstats
path: root/tests/options.proto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/options.proto')
-rw-r--r--tests/options.proto5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/options.proto b/tests/options.proto
index 73edf2ba..6ba7c070 100644
--- a/tests/options.proto
+++ b/tests/options.proto
@@ -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];
+}