chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] (declare (block))


From: felix winkelmann
Subject: Re: [Chicken-users] (declare (block))
Date: Tue, 8 May 2007 12:27:50 +0200

On 5/2/07, Shawn W. <address@hidden> wrote:

So what does block actually do?


"(declare (block))" is essentially like "static" in C: it means that
the toplevel variables of a compiled library unit are not accessible
(and thus can not be modified) from outside of the current compilation
unit. It also may give hints to the compiler that toplevel variables
have a fixed value and can be more easily inlined.


cheers,
felix




reply via email to

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