ffi/ffi-swig-generator — pull request #7 by bikeNomad (2012-06-25 13:53:17+00:00)
Title: Respect Swig %rename

If I use %rename() in a Swig .i file, the resultant XML has the new identifiers in the sym_name attributes (and the original names in the name attributes). But ffi-swig-generator keeps the original names, despite the fact that FFI's attach_function() can take an alternative name.

This one-line change to lib/generator/function.rb can fix this.