Subject:
Re: [ruby-ffi] Re: unable to find method?
From:
Vladimir Sizikov
Date:
12/20/09 3:53 AM
To:
ruby-ffi@googlegroups.com

On Sun, Dec 20, 2009 at 10:48 AM, Vladimir Sizikov <vsizikov@gmail.com> wrote:
> Same here, the sample crashes on MRI 1.8.6 (mingw) and 1.8.7 (mswin).
> But works just fine with JRuby 1.5.0.dev. :)

But I think this is not a good practice doing extend FFI::Library
right at the *top* level.
Once I wrapped this top-level stuff into a standalone library class,
everything started to work with MRI as well.

Thanks,
  --Vladimir