Steelbreeze/Core/Base.hpp
2012-06-21 17:20:54 -04:00

8 lines
266 B
C++

#include <stdio.h>
#include <stdlib.h>
#define null NULL
#define WARN(msg) { printf("Warning: %s\n", msg); }
#define ASSERT(comp, msg) { if(!(comp)) { printf("Assertion failed: %s\n", msg); exit(1); } }
#define BAIL(msg) { printf("Bailing: %s\n", msg); exit(1); }