thenumbernine / lua-ffi-bindings

FFI bindings for LuaJIT
MIT License
43 stars 7 forks source link

binding automation #2

Closed sonoro1234 closed 6 years ago

sonoro1234 commented 6 years ago

Hi,

I have managed to automate luajit ffi binding generation for imgui. Main reason is for following imgui changes which are very frequent.

Here is the cimgui part https://github.com/sonoro1234/cimgui/tree/master_auto2/cimgui/generator Here the luajit part https://github.com/sonoro1234/LuaJIT-ImGui/tree/master_auto/lua

may be you find it usefull comments are welcome

victor bombi

sonoro1234 commented 6 years ago

now https://github.com/sonoro1234/cimgui and https://github.com/sonoro1234/LuaJIT-ImGui

thenumbernine commented 5 years ago

Thanks very much for making this, and thanks for letting me know about it. I finally got around to switching the imgui.lua in this project over to use your generated bindings.