diff options
author | Yu Shan <shanyu@google.com> | 2018-07-24 17:26:36 -0700 |
---|---|---|
committer | Yu Shan <shanyu@google.com> | 2018-08-03 23:56:49 +0000 |
commit | 1f399cdc4c3cdb9328f63db0b0ef3d4e6552b6d5 (patch) | |
tree | 9aa05df75ba4f5da6459d0192fb5f937a34eaa90 /tests/regression/issue_259/callback_pointer.proto | |
parent | 1ffb80887f26a52fd94953884cecb2bc4e7e9742 (diff) | |
download | nanopb-c-1f399cdc4c3cdb9328f63db0b0ef3d4e6552b6d5.tar.gz |
Revert revert "Upgrade nanopb to 0.3.9.1"
This reverts commit d2fd0b0afe3b5e8aafcf6f97d98b1045368d69bc.
After fixing the dependency problem, this should not break the build.
Test: Local build tests.
Bug: b/111798740
Change-Id: If2233e9c12dc3b5e2e3421746c32a57e74ae7206
Diffstat (limited to 'tests/regression/issue_259/callback_pointer.proto')
-rw-r--r-- | tests/regression/issue_259/callback_pointer.proto | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/regression/issue_259/callback_pointer.proto b/tests/regression/issue_259/callback_pointer.proto new file mode 100644 index 0000000..a2d04e4 --- /dev/null +++ b/tests/regression/issue_259/callback_pointer.proto @@ -0,0 +1,11 @@ +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]; +} + |