Problem: I am lazy to write XML API models by hand
Problem: I am lazy to write XML API models by hand

Solution: generate them from header files

*How to use*

`mkapi.py` needs [https://github.com/eliben/pycparser/|pycparser] installed. Use your package manager or pip to install it.

Test of functionality is done on headers from [https://github.com/zeromq/czmq/|czmq]. In order to make it work, you need [https://github.com/eliben/pycparser/tree/master/utils/fake_libc_include|fake_libc_include], which adds necessary declarations. However `fake_libc_include` is not a part of Python packages.

Usage is simple. Change dir to `tests/czmq` and run `python ../../mkapi.py -I/path/to/fake_libc_include include/czmq.h`. Result models will be in `api/` directory.

zeromq/zproject,hintjens/zproject,taotetek/zproject,keent/zproject,paddor/zproject,hintjens/zproject,zeromq/zproject,eburkitt/zproject,paddor/zproject,keent/zproject,asokoloski/zproject,twhittock/zproject,zeromq/zproject,paddor/zproject,taotetek/zproject,eburkitt/zproject,asokoloski/zproject,twhittock/zproject,taotetek/zproject