diff options
Diffstat (limited to 'CAN-binder/libs/nanopb/tests/extensions/extensions.proto')
-rw-r--r-- | CAN-binder/libs/nanopb/tests/extensions/extensions.proto | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/CAN-binder/libs/nanopb/tests/extensions/extensions.proto b/CAN-binder/libs/nanopb/tests/extensions/extensions.proto deleted file mode 100644 index fcd5b43..0000000 --- a/CAN-binder/libs/nanopb/tests/extensions/extensions.proto +++ /dev/null @@ -1,19 +0,0 @@ -syntax = "proto2"; - -import 'alltypes.proto'; - -extend AllTypes { - optional int32 AllTypes_extensionfield1 = 255 [default = 5]; -} - -message ExtensionMessage { - extend AllTypes { - optional ExtensionMessage AllTypes_extensionfield2 = 254; - // required ExtensionMessage AllTypes_extensionfield3 = 253; // No longer allowed by protobuf 3 - repeated ExtensionMessage AllTypes_extensionfield4 = 252; - } - - required string test1 = 1; - required int32 test2 = 2; -} - |