[Ecls-list] How to hook into the CLOS object destruction process initiated by the garbage collector?
dietrich at formgames.org
Thu Jun 13 01:30:33 UTC 2013
CLOS relies on a garbage collector to destruct objects which are not
referenced anymore, so no explicit destructor method is foreseen.
However, when wrapping a C++ class into a CLOS class, the destructor of the
C++ object has to be called when the CLOS object is garbage collected to
free the foreign object.
Is there a way to hook into the CLOS object destruction process initiated
by the garbage collector in order to call the C++ destructor when the CLOS
object is garbage collected?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ecl-devel