#define Fatal(...) FatalEx(__func__, __FILE__, __LINE__, __VA_ARGS__)
/*** Macro to abort function ***/
#define Fatal(...) FatalEx(__func__, __FILE__, __LINE__, __VA_ARGS__)
/*** Macro to abort function ***/
-#define Abort(...) LogEx(LOGERR, __func__, __FILE__, __LINE__, __VA_ARGS__); return
+#define Abort(...) { LogEx(LOGERR, __func__, __FILE__, __LINE__, __VA_ARGS__); return; }
+#define AbortBool(...) { LogEx(LOGERR, __func__, __FILE__, __LINE__, __VA_ARGS__); return false; }
enum {LOGERR=0, LOGWARN=1, LOGNOTE=2, LOGINFO=3,LOGDEBUG=4};
extern void LogEx(int level, const char * funct, const char * file, int line, ...); // General function for printing log messages to stderr
enum {LOGERR=0, LOGWARN=1, LOGNOTE=2, LOGINFO=3,LOGDEBUG=4};
extern void LogEx(int level, const char * funct, const char * file, int line, ...); // General function for printing log messages to stderr