Subject:
Re: [ruby-ffi] Re: c++ examples
From:
Luis Lavena
Date:
12/5/09 4:18 PM
To:
ruby-ffi@googlegroups.com

On Sat, Dec 5, 2009 at 7:16 PM, rogerdpack <rogerpack2005@gmail.com> wrote:
>> You may be interested in ffi-inliner[1][2]. With this library you can
>> link
>> - on the fly - to C++ through a C layer.
>
> Interesting jruby compatible solution.
>
> In the end I think I'm going to end up having to write ruby containers
> for c++ objects, so I'll probably end up having to write a "real"
> extension after all.  Anybody know of a cross-VM compatible way to
> wrap C objects and call their destructors, etc.?
> Thanks.

You mean C++ objects and make them work with Ruby C API?

-- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exupéry