aboutsummaryrefslogtreecommitdiffstats
path: root/src/lisp.h
diff options
context:
space:
mode:
authorDaniel Colascione2014-04-02 17:18:08 -0700
committerDaniel Colascione2014-04-02 17:18:08 -0700
commit01ae0fbf30b74e2490144fceabbf5bc5d96f1ba7 (patch)
tree59ca8d7de3510d720153f1cc2d368bd145f21f48 /src/lisp.h
parent4fd68bf6cc1dce6c95001fbbac95cef32c86359d (diff)
downloademacs-01ae0fbf30b74e2490144fceabbf5bc5d96f1ba7.tar.gz
emacs-01ae0fbf30b74e2490144fceabbf5bc5d96f1ba7.zip
Add GC bug investigation code
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