Petteri Aimonen 840e213b9f 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.
2013-09-11 09:53:51 +03:00
2013-08-08 20:42:46 +03:00
2013-02-11 22:03:14 +02:00
2013-08-08 20:45:30 +03:00
2012-01-06 19:04:49 +02:00

Nanopb is a small code-size Protocol Buffers implementation.

Homepage: http://kapsi.fi/~jpa/nanopb/

To compile the library, you'll need these libraries:
protobuf-compiler python-protobuf libprotobuf-dev

The only runtime dependencies are memset() and memcpy().

To run the tests, run make under the tests folder.
If it completes without error, everything is fine.
Description
Automatically exported from code.google.com/p/nanopb
Readme 1.2 MiB
Languages
C 71.7%
Python 23.1%
CMake 2.5%
Shell 1.8%
PureBasic 0.4%
Other 0.5%