comparison src/dispextern.h @ 83263:1f334cdd7020

Merged from miles@gnu.org--gnu-2005 (patch 34-36, 142-158) Patches applied: * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-142 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-143 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-144 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-145 (make-text-button): Default button type if not specified * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-146 quick-install-emacs: Use mkdir --verbose only when requested * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-147 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-148 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-149 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-150 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-151 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-152 Add info/dir to arch branch * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-153 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-154 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-155 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-156 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-157 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-158 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-34 Merge from emacs--cvs-trunk--0 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-35 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-36 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-303
author Karoly Lorentey <lorentey@elte.hu>
date Sun, 06 Mar 2005 13:31:20 +0000
parents 92c8be21e2c3 70a63281c541
children 48ba3f89c89f
comparison
equal deleted inserted replaced
83262:92c8be21e2c3 83263:1f334cdd7020
117 117
118 #ifndef GLYPH_DEBUG 118 #ifndef GLYPH_DEBUG
119 #define GLYPH_DEBUG 0 119 #define GLYPH_DEBUG 0
120 #endif 120 #endif
121 121
122 /* If XASSERTS is non-zero, additional consistency checks are activated.
123 Turn it off by defining the macro XASSERTS to zero. */
124
125 #ifndef XASSERTS
126 #define XASSERTS 0
127 #endif
128
122 /* Macros to include code only if GLYPH_DEBUG != 0. */ 129 /* Macros to include code only if GLYPH_DEBUG != 0. */
123 130
124 #if GLYPH_DEBUG 131 #if GLYPH_DEBUG
125 #define IF_DEBUG(X) X 132 #define IF_DEBUG(X) X
126 #else 133 #else
127 #define IF_DEBUG(X) (void) 0 134 #define IF_DEBUG(X) (void) 0
128 #endif 135 #endif
129 136
130 /* Maybe move this inside the above `#ifdef GLYPH_DEBUG' for release. */ 137 #if XASSERTS
131 #define xassert(X) do {if (!(X)) abort ();} while (0) 138 #define xassert(X) do {if (!(X)) abort ();} while (0)
139 #else
140 #define xassert(X) (void) 0
141 #endif
132 142
133 /* Macro for displaying traces of redisplay. If Emacs was compiled 143 /* Macro for displaying traces of redisplay. If Emacs was compiled
134 with GLYPH_DEBUG != 0, the variable trace_redisplay_p can be set to 144 with GLYPH_DEBUG != 0, the variable trace_redisplay_p can be set to
135 a non-zero value in debugging sessions to activate traces. */ 145 a non-zero value in debugging sessions to activate traces. */
136 146