41 #define GetCurrentDir _getcwd 42 #define PATH_MAX MAX_PATH 49 #define strcmpi strcasecmp 50 #define DIR_DELIMITER '/' 54 #define OPERATOR_NEW_THROW_EXCEPTION 93 #define xprintf(...) _xprintf(__FILE__, __func__, __LINE__, __VA_ARGS__) 95 int _xprintf(
const char *
const xprintf_file,
const char *
const xprintf_func,
const int xprintf_line,
MessageType type,
const char *
const fmt, ... );
150 if (ierr != 0)
THROW( ExcChkErr() << EI_ErrCode(ierr));
160 #ifdef FLOW123D_DEBUG_ASSERTS
struct SystemInfo SystemInfo
System structure for various global variables.
void chkerr(unsigned int ierr)
Replacement of new/delete operator in the spirit of xmalloc.
System structure for various global variables.
Global macros to enhance readability and debugging, general constants.
void chkerr_assert(unsigned int ierr)
MessageType
Identifiers for various output messages.
int _xprintf(const char *const xprintf_file, const char *const xprintf_func, const int xprintf_line, MessageType type, const char *const fmt,...)
Multi-purpose printing routine: messages, warnings, errors.
#define THROW(whole_exception_expr)
Wrapper for throw. Saves the throwing point.