diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2013-09-11 09:53:51 +0300 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2013-09-11 09:53:51 +0300 |
commit | 840e213b9fa244bce4c67789971c02ce16e66295 (patch) | |
tree | 375827f43fbf1d0899a6e341320a695874ce1d17 /docs | |
parent | 5b9ad17dc2014d7506a7dde92281d8c36a1433e4 (diff) |
Get rid of the ternary operator in the pb_field_t initialization.
Some compilers where unable to detect that the ternary operator
can be evaluated at the compile time. This commit does the evaluation
on the Python side, which should fix the problem.
The new .pb.c files are generated using PB_FIELD2() macro. The old
PB_FIELD() macro remains, so that previously generated files keep
working.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions