[Ecls-list] GC interface

Julian Stecklina der_julian at web.de
Mon Nov 29 07:01:04 UTC 2004


Hello,

If I have a C structure holding CL objects, I need to tell the GC
about it. I nice way is to use GC_MALLOC_UNCOLLECTABLE to allocate it
explicitly as traceable memory. Would it be "ok" to have this added to
ECLs API?

Something like:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff
Type: text/x-patch
Size: 1012 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20041129/0c18e8e3/attachment.bin>
-------------- next part --------------

Btw, does this mean we need to have an ecl_free() as well (calling GC_FREE)?

Regards,
-- 
                    ____________________________
 Julian Stecklina  /  _________________________/
  ________________/  /
  \_________________/  LISP - truly beautiful


More information about the ecl-devel mailing list