aboutsummaryrefslogtreecommitdiffstats
path: root/src/lisp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lisp.h')
-rw-r--r--src/lisp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lisp.h b/src/lisp.h
index f8b5384ceb0..b8c909ab60d 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -58,6 +58,9 @@ INLINE_HEADER_BEGIN
58#define max(a, b) ((a) > (b) ? (a) : (b)) 58#define max(a, b) ((a) > (b) ? (a) : (b))
59#define min(a, b) ((a) < (b) ? (a) : (b)) 59#define min(a, b) ((a) < (b) ? (a) : (b))
60 60
61/* Find number of elements in array */
62#define EARRAYSIZE(arr) (sizeof (arr) / sizeof ((arr)[0]))
63
61/* EMACS_INT - signed integer wide enough to hold an Emacs value 64/* EMACS_INT - signed integer wide enough to hold an Emacs value
62 EMACS_INT_MAX - maximum value of EMACS_INT; can be used in #if 65 EMACS_INT_MAX - maximum value of EMACS_INT; can be used in #if
63 pI - printf length modifier for EMACS_INT 66 pI - printf length modifier for EMACS_INT