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,9 @@
|
||||
# Regression test for #380:
|
||||
# mangle_names:M_STRIP_PACKAGE is broken when message name (partially)
|
||||
# matches package name
|
||||
|
||||
Import("env")
|
||||
|
||||
env.NanopbProto(["manglenames.proto", "manglenames.options"])
|
||||
env.Object("manglenames.pb.o", "manglenames.pb.c")
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
* mangle_names:M_STRIP_PACKAGE
|
||||
@@ -0,0 +1,16 @@
|
||||
syntax = "proto2";
|
||||
package A;
|
||||
|
||||
message A {
|
||||
message B {
|
||||
optional uint32 val = 1;
|
||||
}
|
||||
optional B b = 1;
|
||||
}
|
||||
|
||||
message AP {
|
||||
message B {
|
||||
optional uint32 val = 1;
|
||||
}
|
||||
optional B m = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user