Subject: [ruby-ffi] Re: Behavior of ffi_lib with Arrays (Was: lists only one lib?) |
From: Stephen Bannasch |
Date: 1/12/10 10:23 AM |
To: ruby-ffi@googlegroups.com |
http://github.com/ffi/ffi/commit/9657b43b5946aa24cfa87bb3cdc73903029191d3 didn't make into http://gemcutter.org/gems/ffi/versions/0.5.4Hi, does it already work with 0.5.4? It seems that this change
Right and also this change: http://github.com/ffi/ffi/commit/8def900a43445375d0d642aea6093baeebdf4aa1 is only in 0.6.0 -- which doesn't appear to have been released as a gem yet.
Alternate loading does not work in 0.5.4. Tested for 1.8.7, 1.9 and jruby.
I compiled from source and installed and it does work using multiple and alternate libraries. It works in JRuby head (1.5.0 dev) also -- I'm not sure when the change was made. Ask Wayne if there is anything holding up a release of the v0.6.0 gem of ffi.