Data_Wrap_Struct (cKlass, 0, 0, ptr);

is it o.k. for 'free' to be 0? in this case i need to wrap something which
cannot be freed (it is freed elsewhere)??

cheers.

-a

···

--

EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
PHONE :: 303.497.6469
A flower falls, even though we love it;
and a weed grows, even though we do not love it. --Dogen

===============================================================================

Ara.T.Howard wrote:

is it o.k. for 'free' to be 0? in this case i need to wrap something
which cannot be freed (it is freed elsewhere)??

Yes, it's okay for both `mark' and `free' to be NULL.