standardise -setDebug: extension

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39554 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2016-03-17 08:12:45 +00:00
parent 1db866fde7
commit 67e4c0581d
8 changed files with 42 additions and 15 deletions

View file

@ -335,7 +335,7 @@ GS_PRIVATE_INTERNAL(NSConnection)
- (void) handlePortMessage: (NSPortMessage*)msg;
- (void) _runInNewThread;
+ (void) setDebug: (int)val;
+ (int) setDebug: (int)val;
- (void) _enableKeepalive;
- (void) addLocalObject: (NSDistantObject*)anObj;
@ -2466,9 +2466,12 @@ static NSLock *cached_proxies_gate = nil;
[loop run];
}
+ (void) setDebug: (int)val
+ (int) setDebug: (int)val
{
int old = debug_connection;
debug_connection = val;
return old;
}
- (void) _keepalive: (NSNotification*)n