all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* EARRAYSIZE
@ 2014-04-03 19:30 Eli Zaretskii
  2014-04-03 19:34 ` EARRAYSIZE Daniel Colascione
  0 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2014-04-03 19:30 UTC (permalink / raw)
  To: Daniel Colascione; +Cc: emacs-devel

  +/* Find number of elements in array */
  +#define EARRAYSIZE(arr) (sizeof (arr) / sizeof ((arr)[0]))

I find the name of this macro to be unfortunate: what it returns is
not "size" in the accepted meaning of that word.

How about ALEN, or ARRAYELTS instead?



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-04-04  8:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-03 19:30 EARRAYSIZE Eli Zaretskii
2014-04-03 19:34 ` EARRAYSIZE Daniel Colascione
2014-04-03 20:10   ` EARRAYSIZE David Kastrup
2014-04-04  7:45     ` EARRAYSIZE Eli Zaretskii
2014-04-04  8:04       ` EARRAYSIZE Paul Eggert
2014-04-04  8:14         ` EARRAYSIZE Eli Zaretskii
2014-04-04  8:41         ` EARRAYSIZE David Kastrup
2014-04-04  8:06       ` EARRAYSIZE Dmitry Antipov
2014-04-04  8:15         ` EARRAYSIZE Eli Zaretskii

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.