Re: portable finalizer
- From: Marco Gidde <marco.gidde@xxxxxxxxxx>
- Date: Tue, 03 Jul 2007 14:51:52 +0200
Tamas Papp <tkpapp@xxxxxxxxx> writes:
I am wrapping a void * cffi pointer and some extra information in a
CLOS object. When the object is garbage-collected, I would like to
have the memory location freed. I have found out how to do
finalization in SBCL, but I want to make my code portable.
I have seen finalize implementations with #+ directives floating
around, could somebody post a reasonably comprehensive version? Or is
there a library to do this?
there is a small library out there called trivial-garbage with
finalization code for several CL implementations.
Regards,
Marco
.
- Follow-Ups:
- Re: portable finalizer
- From: Tamas Papp
- Re: portable finalizer
- From: Mark Hoemmen
- Re: portable finalizer
- References:
- portable finalizer
- From: Tamas Papp
- portable finalizer
- Prev by Date: Re: slime not working with sbcl 1.0.7 x86-64
- Next by Date: Re: International Obfuscated Lisp Contest
- Previous by thread: Re: portable finalizer
- Next by thread: Re: portable finalizer
- Index(es):
Relevant Pages
|