mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Fix some argument names for autogsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12538 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d4759ee45e
commit
9172e99294
7 changed files with 43 additions and 39 deletions
|
@ -627,9 +627,9 @@ int main(int argc, char *argv[], char *env[])
|
|||
[self hostName], pid, [NSDate date]];
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
*** Specifying a Process Name
|
||||
*************************************************************************/
|
||||
/**
|
||||
* Change the name of the current process to newName.
|
||||
*/
|
||||
- (void) setProcessName: (NSString *)newName
|
||||
{
|
||||
if (newName && [newName length]) {
|
||||
|
@ -641,10 +641,11 @@ int main(int argc, char *argv[], char *env[])
|
|||
|
||||
@end
|
||||
|
||||
/*
|
||||
* Function for rapid testing to see if a debug level is set.
|
||||
/**
|
||||
* Function for rapid testing to see if a debug level is set.
|
||||
* This is used by the debugging macros.
|
||||
*/
|
||||
BOOL GSDebugSet(NSString *val)
|
||||
BOOL GSDebugSet(NSString *level)
|
||||
{
|
||||
static IMP debugImp = 0;
|
||||
static SEL debugSel;
|
||||
|
@ -658,8 +659,10 @@ BOOL GSDebugSet(NSString *val)
|
|||
}
|
||||
debugImp = [_debug_set methodForSelector: debugSel];
|
||||
}
|
||||
if ((*debugImp)(_debug_set, debugSel, val) == nil)
|
||||
return NO;
|
||||
if ((*debugImp)(_debug_set, debugSel, level) == nil)
|
||||
{
|
||||
return NO;
|
||||
}
|
||||
return YES;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue