msgpack
This is a simple implementation of the MessagePack specification (spec.md in the tree).
Heard C is dangerous, so the library is just macros
This library uses NO dynamic allocations.
Usage
See the api in msgpack.h, it is self-explanatory.
Building
This project use ninja and m4 macros (so both need to be installed),
use ninja to build, with options like:
"no options"to build to the current target (whenPROD=1it runs the test)testto run the the unit tests.installto install the built files in output directories set byninja configure
To change paths and presets using ninja configure with an
appropriate environment variable:
PROD=1to use the non-debug flagsTARGET=header/static/sharedto set the target typePREFIX=<path>used for other paths, default./installdirLIBDIR=<path>used for libraries (.so and .a), defaultPREFIX/libINCLUDEDIR=<path>used for C headers, defaultPREFIX/include
