mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-05-05 21:00:54 +00:00
replaced DEBUG with GSWDEBUG
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13035 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a1d6b45417
commit
cf1cf734e8
1 changed files with 10 additions and 10 deletions
|
@ -27,7 +27,7 @@
|
|||
#define _GSWebDebug_h__
|
||||
|
||||
|
||||
#ifdef DEBUG
|
||||
#ifdef GSWDEBUG
|
||||
extern void GSWLogC_(CONST char* file,int line,CONST char* string);
|
||||
extern void GSWLogDumpObject_(CONST char* file,int line,id object,int deep);
|
||||
extern void GSWLogAssertGood_(CONST char* file,int line,NSObject* object);
|
||||
|
@ -57,17 +57,17 @@ extern void GSWLogAssertGood_(CONST char* file,int line,NSObject* object);
|
|||
#define GSWLogDeepC(cString);
|
||||
#endif
|
||||
|
||||
#else
|
||||
#define GSWLogC(cString);
|
||||
#define GSWLogDumpObject(object,deep);
|
||||
#define GSWLogAssertGood(object);
|
||||
#define GSWLogMemC(cString);
|
||||
#define GSWLogLockC(cString);
|
||||
#define GSWLogDeepC(cString);
|
||||
#else // no GSWDEBUG
|
||||
#define GSWLogC(cString); {}
|
||||
#define GSWLogDumpObject(object,deep); {}
|
||||
#define GSWLogAssertGood(object); {}
|
||||
#define GSWLogMemC(cString); {}
|
||||
#define GSWLogLockC(cString); {}
|
||||
#define GSWLogDeepC(cString); {}
|
||||
#endif
|
||||
|
||||
// Normal Debug
|
||||
#ifdef DEBUG
|
||||
#ifdef GSWDEBUG
|
||||
#define LOGClassFnStart() \
|
||||
do { if (GSDebugSet(@"GSWebFn") == YES) { \
|
||||
NSString *fmt = GSDebugFunctionMsg(__PRETTY_FUNCTION__, __FILE__, __LINE__,@"FNSTART"); \
|
||||
|
@ -235,7 +235,7 @@ extern void GSWLogAssertGood_(CONST char* file,int line,NSObject* object);
|
|||
__PRETTY_FUNCTION__, __FILE__, __LINE__, format); \
|
||||
NSLog(fmt); }} while (0)
|
||||
|
||||
#else
|
||||
#else // no GSWDEBUG
|
||||
#define LOGClassFnStart() {}
|
||||
#define LOGClassFnStop() {}
|
||||
#define LOGClassFnStartC(comment) {}
|
||||
|
|
Loading…
Reference in a new issue