Subject:
[ruby-ffi] Re: c++ examples
From:
rogerdpack
Date:
12/10/09 7:45 AM
To:
ruby-ffi


> You can use finalizers as a last-resort cleanup mechanism, but you
> also want to have a mechanism to cleanup/dispose the underlying native
> object explicitly during normal operation.

Interesting.

I wish ruby itself allowed for disposing objects [there's no
rb_force_recycle method], though that's neither here nor there.

-r