emacs-devel
[Top][All Lists]
Advanced

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

Re: BINDING_STACK_SIZE => SPECPDL_INDEX


From: Andreas Schwab
Subject: Re: BINDING_STACK_SIZE => SPECPDL_INDEX
Date: Thu, 11 Jul 2002 17:48:01 +0200
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.3.50 (ia64-suse-linux)

Juanma Barranquero <address@hidden> writes:

|> In alloc.c, for example, there's that code:
|> 
|>   for (bind = specpdl; bind != specpdl_ptr; bind++)
|>     {
|>       mark_object (&bind->symbol);
|>       mark_object (&bind->old_value);
|>     }
|> 
|> Both specpdl and specpdl_ptr are pointers to the same structure, aren't
|> they? So specpdl_ptr - specpdl is really a count and not an index.

It is also an index into the specpdl array.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

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