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: marking, freeing, permanent SCM var


This is probably an FAQ, but I cannot find a reference to it in the mailing
list archive.  I found this in the old one:

   Jim Blandy (jimb@red-bean.com)
   Fri, 20 Jun 1997 01:05:36 -0500
   
   >I packed some questions together about my OpenStep guile support:
   >Point me to source comments or rtfm me if need be...
   
   This used to be part of snapshots a while back. I think it's up to
   date.
   See the section called "Defining New Types (Smobs)".

but it doesn't really answer my question.

Are all Guile/SCM objects freed when scm_boot_guile() returns?

I would like to have my smobs freed when the program exits.  I need to know
if all the memory I've allocated has been freed at exit time, and I can
only do that if my smob's free-function is called.

Thanks.

-- 
Robert Brown                        |         Continuum Software, Inc.
email:robertb@continuumsi.com       | 800 West Cummings Park, Ste 4950
http://www.continuumsi.com/~robertb |            Woburn, MA 01801-6504
voice: 781-932-8400 x100            |                fax: 781-932-2558

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