Steffen Siering cc29958d34 Fix STATIC_ASSERT macro when using multiple .proto files.
The __COUNTER__ macro (used for generating unique names) is at least supported
by gcc, clang and Visual Studio. With this change test_compiles.c is
compilable, since no more typedefs are redefined.

Compilers/Preprocessors not supporting __COUNTER__ error's are still possible
which are hopfully handled by the usage of __LINE__ in most sittuations.

Added unit test for the problem.
2012-11-16 09:24:39 +02:00
2012-10-29 19:33:33 +02:00
2012-11-11 11:20:34 +02:00
2012-01-06 19:04:49 +02:00
2012-10-29 19:03:19 +02:00
2012-10-29 19:03:19 +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%