Clang vs CBindingGen

mhinsch
Sun, 07 Mar 2021 19:06:48 +0000
General Usage

I’m thinking about generating a wrapper for a pure C library (raylib). So far I have found two options for doing that (semi-) automatically: Clang and CBindingGen.
Clang seems to be the default option, but while documentation for both is on the sparse side, CBindingGen appears to be slightly more accessible (I managed to generate and load bindings in about 30min).
Does anybody have any experience with either of them and can give me some pros and cons to help me with the decision which one to use?

Edit: added links

30 posts - 9 participants