(CHECK_TOTAL_LENGTH): New macro.

This commit is contained in:
Richard M. Stallman
2003-04-06 20:29:13 +00:00
parent 64ea14d3be
commit e5a9c92a9f

View File

@@ -125,6 +125,10 @@ Boston, MA 02111-1307, USA. */
"next" value, and test the result to see if it's NULL_INTERVAL. */
#define INTERVAL_PARENT_OR_NULL(i) (INTERVAL_HAS_PARENT (i) ? INTERVAL_PARENT (i) : 0)
/* Abort if interval I's size is negative. */
#define CHECK_TOTAL_LENGTH(i) \
if ((int) (i)->total_length < 0) abort (); else
/* Reset this interval to its vanilla, or no-property state. */
#define RESET_INTERVAL(i) \
{ \