For anyone interested, I've recently been working on c2ffi (https://github.com/rpav/c2ffi), which uses Clang to parse C into JSON, and I have just posted c2ffi-ruby, which transforms the JSON into a file for ruby-ffi:
https://github.com/rpav/c2ffi-ruby
This should produce more accurate input than SWIG.
Apologies for ugly code; this was done as a bit of a test for c2ffi, and I haven't written much ruby in awhile. Nor has it been extensively tested, but it does parse the included Cairo bindings.
--
---
You received this message because you are subscribed to the Google Groups "ruby-ffi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-ffi+unsubscribe@googlegroups.com.
For more options, visit
https://groups.google.com/groups/opt_out.