This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: guile GC -- expanding heap size and finalization support?


Clifford Beshers <beshers@cs.columbia.edu> writes:

> 2)  Is there any support for finalization in the guile gc?

When you add a smob type (there's documentation for it somewhere),
you're required to supply free and scan calls. The free call can do
any finalization needed (although consing during funalization is
probably a bad idea).

-- 
I refuse to use .sig