*/
#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(const, msg) \
+#define EVAF_TEST_X(cond, msg) \
if (!cond) \
- EVAF_FATAL(msg);
+ EVAF_FATAL_ERROR(msg);
#endif // globals.h