Chipmunk C++ wrapper
Posted: Sun Sep 09, 2012 10:33 am
Hello!
I have been working a wrapper for chipmunk for the last few weeks and I believe it is finally in a state where I can share it with others. It is still a work in progress though so bugs are likely and not every function is exported (most are though, see update).
The code is generated by a lua script that parses all the header files so any updates to chipmunk that does not break the API greatly should be possible to generate wrapper files for (currently only tested on 6.1.1though).
You can find the source here https://github.com/Marwes/CppChipmunk.
TODO:
Clean up the generator script to make it easier to understand.
Please let me know if you have any suggestions or spot/experience any bugs.
Update:
Should have updated this post a while back to add that 'all' functions should now be exported (let me know if you spot any that are being missed but I think they should all be there).
Comments are in as well.
Added an option to not generate the functions that uses std::function as well as move constructors (look in the build.lua file)
I have been working a wrapper for chipmunk for the last few weeks and I believe it is finally in a state where I can share it with others. It is still a work in progress though so bugs are likely and not every function is exported (most are though, see update).
The code is generated by a lua script that parses all the header files so any updates to chipmunk that does not break the API greatly should be possible to generate wrapper files for (currently only tested on 6.1.1though).
You can find the source here https://github.com/Marwes/CppChipmunk.
TODO:
Clean up the generator script to make it easier to understand.
Please let me know if you have any suggestions or spot/experience any bugs.
Update:
Should have updated this post a while back to add that 'all' functions should now be exported (let me know if you spot any that are being missed but I think they should all be there).
Comments are in as well.
Added an option to not generate the functions that uses std::function as well as move constructors (look in the build.lua file)