Hi,

"Kjetil S. Matheussen" <[EMAIL PROTECTED]> writes:

> Point is that you very often don't need any kind of free functionality.
> For example, if you create a gui widget, you probably have a callback
> function which is called if the gui is closed. That callback
> function can free any allocated memory. Another example from snd
> is creating ladspa plugins (audio plugins in linux). Handlers
> from those, plus variuos configuration stuff, is alive througout
> the whole session and will be automatically freed when the program
> closes.

Sure, but the general case is that a C-implemented object must be
explicitly destroyed when it's no longer referenced by Scheme code.

Thanks,
Ludovic.



Reply via email to