mirror of
https://review.haiku-os.org/haiku
synced 2025-02-22 21:48:35 +01:00
Added WARNING macro.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11156 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
3424c4fea4
commit
4eb57a1d3d
@ -41,6 +41,7 @@
|
||||
#define SET_ERROR(var, err) { status_t _status = err; if (_status < B_OK) REPORT_ERROR(_status); var = _status; }
|
||||
#define FATAL(x) { __out(DEBUG_APP ": "); __out x; }
|
||||
#define ERROR(x) { __out(DEBUG_APP ": "); __out x; }
|
||||
#define WARNING(x) { __out(DEBUG_APP ": "); __out x; }
|
||||
#define INFORM(x) { __out(DEBUG_APP ": "); __out x; }
|
||||
#define FUNCTION(x) { __out(DEBUG_APP ": %s() ",__FUNCTION__); __out x; }
|
||||
#define FUNCTION_START() { __out(DEBUG_APP ": %s()\n",__FUNCTION__); }
|
||||
@ -53,6 +54,7 @@
|
||||
#define SET_ERROR(var, err) var = err;
|
||||
#define FATAL(x) { __out(DEBUG_APP ": "); __out x; }
|
||||
#define ERROR(x) { __out(DEBUG_APP ": "); __out x; }
|
||||
#define WARNING(x) { __out(DEBUG_APP ": "); __out x; }
|
||||
#define INFORM(x) { __out(DEBUG_APP ": "); __out x; }
|
||||
#define FUNCTION(x) ;
|
||||
#define FUNCTION_START() ;
|
||||
|
Loading…
x
Reference in New Issue
Block a user