The sizes are represented as EncodedSize() instances, which cause max() operation to sort them by address instead of value. This caused pretty much random item to be selected for the maximum. Update issue 141 Status: FixedInGit
9 lines
206 B
Python
9 lines
206 B
Python
# Regression test for issue 141: wrong encoded size #define for oneof messages
|
|
|
|
Import("env")
|
|
|
|
env.NanopbProto("testproto")
|
|
env.Object('testproto.pb.c')
|
|
env.Match(['testproto.pb.h', 'testproto.expected'])
|
|
|