all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thien-Thi Nguyen <ttn@surf.glug.org>
Subject: decl style question
Date: Sat, 15 May 2004 18:01:27 +0200	[thread overview]
Message-ID: <E1BP1bL-0007ed-00@surf.glug.org> (raw)

below is a frag from alloc.c not yet checked into the trunk that
effectively declares the global array `pure'.  this does the job but
seems ugly to me -- suggestions?

thi

____________________________________
/* Force it into data space! */

#define PURE_BEF_ATTRS /* empty */
#define PURE_AFT_ATTRS /* empty */

#ifdef VMS
#ifdef __GNUC__
#undef PURE_AFT_ATTRS
#define PURE_AFT_ATTRS asm("_$PsectAttributes_NOOVR$$EMACSPURE")
#else /* not __GNUC__ */
#undef PURE_BEF_ATTRS
#define PURE_BEF_ATTRS globaldef {"EMACSPURE"}
#endif /* not __GNUC__ */
#endif /* VMS */

PURE_BEF_ATTRS
EMACS_INT pure[PURESIZE / sizeof (EMACS_INT)] PURE_AFT_ATTRS = {0,};

                 reply	other threads:[~2004-05-15 16:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1BP1bL-0007ed-00@surf.glug.org \
    --to=ttn@surf.glug.org \
    --cc=ttn@glug.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.