Mercurial > hg > xemacs-beta
comparison pkg-src/tree-x/defs.h @ 169:15872534500d r20-3b11
Import from CVS: tag r20-3b11
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:46:53 +0200 |
parents | 0132846995bd |
children |
comparison
equal
deleted
inserted
replaced
168:9851d5c6556e | 169:15872534500d |
---|---|
9 #define ASSERT(x, msg) \ | 9 #define ASSERT(x, msg) \ |
10 if ((x) == NULL) { fprintf(stderr, "%s: %s\n", ProgramName, msg); exit(0); } | 10 if ((x) == NULL) { fprintf(stderr, "%s: %s\n", ProgramName, msg); exit(0); } |
11 | 11 |
12 #define NASSERT(x, msg) \ | 12 #define NASSERT(x, msg) \ |
13 if ((x) == NULL) { fprintf(stderr, "%s: %s\n", ProgramName, msg); \ | 13 if ((x) == NULL) { fprintf(stderr, "%s: %s\n", ProgramName, msg); \ |
14 return (NULL); } | 14 return NULL; } |
15 | 15 |
16 #define WARN(msg) \ | 16 #define WARN(msg) \ |
17 fprintf(stderr, "%s: %s\n", ProgramName, msg) | 17 fprintf(stderr, "%s: %s\n", ProgramName, msg) |
18 | 18 |
19 #define WARN_1(msg, arg1) \ | 19 #define WARN_1(msg, arg1) \ |