[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/dispextern.h
From: |
Kim F . Storm |
Subject: |
[Emacs-diffs] Changes to emacs/src/dispextern.h |
Date: |
Wed, 02 Mar 2005 17:35:17 -0500 |
Index: emacs/src/dispextern.h
diff -c emacs/src/dispextern.h:1.197 emacs/src/dispextern.h:1.198
*** emacs/src/dispextern.h:1.197 Fri Feb 25 21:49:59 2005
--- emacs/src/dispextern.h Wed Mar 2 22:35:17 2005
***************
*** 119,124 ****
--- 119,131 ----
#define GLYPH_DEBUG 0
#endif
+ /* If XASSERTS is non-zero, additional consistency checks are activated.
+ Turn it off by defining the macro XASSERTS to zero. */
+
+ #ifndef XASSERTS
+ #define XASSERTS 0
+ #endif
+
/* Macros to include code only if GLYPH_DEBUG != 0. */
#if GLYPH_DEBUG
***************
*** 127,134 ****
#define IF_DEBUG(X) (void) 0
#endif
! /* Maybe move this inside the above `#ifdef GLYPH_DEBUG' for release. */
#define xassert(X) do {if (!(X)) abort ();} while (0)
/* Macro for displaying traces of redisplay. If Emacs was compiled
with GLYPH_DEBUG != 0, the variable trace_redisplay_p can be set to
--- 134,144 ----
#define IF_DEBUG(X) (void) 0
#endif
! #if XASSERTS
#define xassert(X) do {if (!(X)) abort ();} while (0)
+ #else
+ #define xassert(X) (void) 0
+ #endif
/* Macro for displaying traces of redisplay. If Emacs was compiled
with GLYPH_DEBUG != 0, the variable trace_redisplay_p can be set to
- [Emacs-diffs] Changes to emacs/src/dispextern.h,
Kim F . Storm <=