From: Andreas Schwab <schwab@suse.de>
Cc: no-spam@cua.dk (Kim F. Storm), storm@cua.dk (Kim F. Storm),
rms@gnu.org, emacs-devel@gnu.org
Subject: Re: BINDING_STACK_SIZE => SPECPDL_INDEX
Date: Thu, 11 Jul 2002 17:48:01 +0200 [thread overview]
Message-ID: <je65zmw9ji.fsf@sykes.suse.de> (raw)
In-Reply-To: <20020711162739.5C2B.LEKTU@terra.es> (Juanma Barranquero's message of "Thu, 11 Jul 2002 17:09:14 +0200")
Juanma Barranquero <lektu@terra.es> 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, schwab@suse.de
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."
next prev parent reply other threads:[~2002-07-11 15:48 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-09 18:52 BINDING_STACK_SIZE => SPECPDL_INDEX Richard Stallman
2002-07-10 8:46 ` Juanma Barranquero
2002-07-11 13:27 ` Kim F. Storm
2002-07-11 13:08 ` Juanma Barranquero
2002-07-11 14:48 ` Kim F. Storm
2002-07-11 15:09 ` Juanma Barranquero
2002-07-11 15:48 ` Andreas Schwab [this message]
2002-07-11 16:04 ` Juanma Barranquero
2002-07-11 16:55 ` Stefan Monnier
2002-07-11 17:05 ` Juanma Barranquero
2002-07-11 17:08 ` Stefan Monnier
2002-07-12 7:45 ` Juanma Barranquero
2002-07-12 10:16 ` Kim F. Storm
2002-07-12 17:37 ` Richard Stallman
2002-07-13 3:20 ` Juanma Barranquero
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=je65zmw9ji.fsf@sykes.suse.de \
--to=schwab@suse.de \
--cc=emacs-devel@gnu.org \
--cc=no-spam@cua.dk \
--cc=rms@gnu.org \
--cc=storm@cua.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).