portable finalizer
- From: Tamas Papp <tkpapp@xxxxxxxxx>
- Date: Tue, 03 Jul 2007 11:23:48 +0200
Hi,
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?
Thanks,
Tamas
.
- Follow-Ups:
- Re: portable finalizer
- From: alexey.goldin@xxxxxxxxx
- Re: portable finalizer
- From: Marco Gidde
- Re: portable finalizer
- From: Edi Weitz
- Re: portable finalizer
- Prev by Date: Re: Unlearning Pattern Matching
- Next by Date: Re: portable finalizer
- Previous by thread: Interested in Genera
- Next by thread: Re: portable finalizer
- Index(es):
Relevant Pages
|