projects
/
evaf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
473db85
)
Fixed test macros.
author
Enar Vaikene
<enar@vaikene.net>
Wed, 20 Jul 2011 13:02:44 +0000
(16:02 +0300)
committer
Enar Vaikene
<enar@vaikene.net>
Wed, 20 Jul 2011 13:02:44 +0000
(16:02 +0300)
src/libs/Common/globals.h
patch
|
blob
|
history
diff --git
a/src/libs/Common/globals.h
b/src/libs/Common/globals.h
index 55c3b40ff14fbe47de06a59c593cd160d4003db2..bac62aef606ff8b72f147d0ac1b7351290c235d5 100644
(file)
--- a/
src/libs/Common/globals.h
+++ b/
src/libs/Common/globals.h
@@
-96,15
+96,15
@@
namespace Internal {
*/
#define EVAF_TEST(cond) \
if (!cond) \
- EVAF_FATAL(#cond);
+ EVAF_FATAL
_ERROR
(#cond);
/**
* Tests that the condition is true with a custom error message.
*
* This macro tests for the condition and if not true, exist with a custom fatal error message.
*/
-#define EVAF_TEST_X(con
st
, msg) \
+#define EVAF_TEST_X(con
d
, msg) \
if (!cond) \
- EVAF_FATAL(msg);
+ EVAF_FATAL
_ERROR
(msg);
#endif // globals.h