mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
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:
parent
1db866fde7
commit
67e4c0581d
8 changed files with 42 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue