neelance / ffi_gen

A generator for Ruby FFI bindings, directly from header files via LLVM's Clang compiler
MIT License
88 stars 26 forks source link

Patching ruby output for GTK+ libs #26

Closed jbreeden closed 9 years ago

jbreeden commented 9 years ago

I've forked ffi_gen and made some updates to make it work for the GTK+ libs. This is a work in progress, but I've got some simple sample apps running with it, so I wanted to make available some of the changes I made.

Hopefully this will be the nastiest pull request you ever get... Sorry for the mess. The first commit is mostly header files and whitespace stuff, so I've tried to make comments where actual changes appear. I hope that makes it less painful to read through.

My main changes were

I'm perfectly happy working off my fork of ffi_gen to make my GTK bindings, but if you want to integrate some of these changes I'd be glad to work with you to make that happen.

Cheers!

jbreeden commented 9 years ago

Made the mistake of making this request off my master branch, so it's pulling in everything I do. Plus, as mentioned, it's a huge mess. I'll close this for now. The changes from the original request were mostly one-two liners, but if you want separate pull requests let me know.