[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
    http://ecls.sourceforge.net/new-manual/ch28.html

    - 5.5. Finalization
      http://ecls.sourceforge.net/new-manual/ch28s05.html

      - ext:set-finalizer — Associate a finalizer to an object.
        http://ecls.sourceforge.net/new-manual/re85.html

Sorry for asking an unnecessary question...

Dietrich

Thanks,
>
> 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