guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to correctly define using scm_define ?


From: Tano Fotang
Subject: Re: how to correctly define using scm_define ?
Date: Tue, 02 Nov 2004 18:03:16 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.1) Gecko/20040728

Thanks. That was the magic (scm_gc_(un)protect).

--- Marius Vollmer <address@hidden> wrote:
...
> You need to 'protect' the SCM value stored into a
> global C variable.
> Otherwise, the garbage collector might not know that
> it is in use and
> will free that SCM value.  See
http://www-dt.e-technik.uni-dortmund.de/~mvo/guile.html/Garbage-Collection-Functions.html
...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]