don't need the wrapper function

This commit is contained in:
2024-06-06 11:24:43 +02:00
parent 5bf5cb9a67
commit b00099973f

View File

@ -62,13 +62,9 @@ public:
__attribute__((__format__(__printf__,2,3)));
};
inline StreamDebugClass
StreamDebugObject(const char* file, int line)
{ return StreamDebugClass(file, line); }
#define error StreamError
#define debug (!streamDebug)?0:StreamDebugObject(__FILE__,__LINE__).print
#define debug2 (streamDebug<2)?0:StreamDebugObject(__FILE__,__LINE__).print
#define debug (!streamDebug)?0:StreamDebugClass(__FILE__,__LINE__).print
#define debug2 (streamDebug<2)?0:StreamDebugClass(__FILE__,__LINE__).print
/*
* ANSI escape sequences for terminal output