[Ecls-list] How to hook into the CLOS object destruction process initiated by the garbage collector?

Dietrich Bollmann dietrich at formgames.org
Thu Jun 13 05:21:33 UTC 2013

[Answering to my own question]

On Thu, Jun 13, 2013 at 10:30 AM, Dietrich Bollmann
<dietrich at formgames.org>wrote:
> Is there a way to [...] call the C++ destructor when the CLOS object is
> garbage collected?

I found the answer in the manual:

  - Chapter 5. Memory Management

    - 5.5. Finalization

      - ext:set-finalizer — Associate a finalizer to an object.

Sorry for asking an unnecessary question...


> Dietrich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20130613/ebe197eb/attachment.html>

More information about the ecl-devel mailing list