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

Support generating types.rb #2

Closed postmodern closed 10 years ago

postmodern commented 12 years ago

I like to put all typedef, callback and enum definitions in a types.rb file. I can then require the types.rb in other files containing FFI::Struct classes.

neelance commented 12 years ago

See issue #4.