guile-devel
[Top][All Lists]
Advanced

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

Re: Is my procedure getting GCed?


From: Michael Livshin
Subject: Re: Is my procedure getting GCed?
Date: 16 May 2001 00:23:11 +0300
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Copyleft)

Neil Jerram <address@hidden> writes:

> What's the difference between roots and the objects protected by
> scm_protect?

static SCM my_global_thingie;
...
my_global_thingie = scm_cons (a, b);

after the assignment, the object would be the cons
(i.e. `my_global_thingie') and the root would be the pointer _itself_
(i.e. `&my_global_thingie').

-- 
All ITS machines now have hardware for a new machine instruction --
BOT
Branch On Tree.
Please update your programs.




reply via email to

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