Subject: Re: [ruby-ffi] ffi-swig generating a :string instead of a :pointer ?? |
From: Andrea Fazzi |
Date: 12/14/09 9:46 AM |
To: ruby-ffi |
Excerpts from Stephen Bannasch's message of lun dic 14 00:30:33 +0100 2009:
How about a command-line option to turn the behavior on or off?
Actually there is the (undocumented) possibility to put configuration stuff into a ruby file with the same name of the swig interface file from which the wrap will be generated. For the time being I could add an option inside the configuration file to turn on char* => :string conversion. The default behaviour could be char* => :pointer.
Are there more translation patterns that people might also expect to have different outcomes?
Nothing that I'm aware of. Cheers,-- Andrea Fazzi @ alcacoop.it Follow me on http://twitter.com/remogatto