mirror of
https://github.com/google/pebble
synced 2026-10-18 01:04:12 +02:00
Import of the watch repository from Pebble
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# Check that generator gives a warning about large extension field number.
|
||||
|
||||
Import('env')
|
||||
|
||||
env.NanopbProto('large_extension')
|
||||
|
||||
env.Match(['large_extension.pb.c', 'large_extension.expected'])
|
||||
@@ -0,0 +1 @@
|
||||
PB_BIND\(foo_ext_extmsg, foo_ext_extmsg, 4\)
|
||||
@@ -0,0 +1,10 @@
|
||||
syntax = "proto2";
|
||||
|
||||
message Foo {
|
||||
extensions 1 to max;
|
||||
}
|
||||
|
||||
extend Foo {
|
||||
optional int32 foo_ext = 99999;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user