mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 08:26:27 +00:00
([IndexedCollection -shallowCopyInReverseAs:]): Return newColl, not
self. ([IndexedCollection -withElementsInReverseCall:]): Set flag to YES. ([IndexedCollection -safeWithElementsInReverseCall:]): Likewise. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@623 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d72139f040
commit
02f43c0d53
1 changed files with 3 additions and 3 deletions
|
@ -729,7 +729,7 @@
|
|||
[newColl appendElement:e];
|
||||
}
|
||||
[self withElementsInReverseCall:doIt];
|
||||
return self;
|
||||
return newColl;
|
||||
}
|
||||
|
||||
|
||||
|
@ -785,14 +785,14 @@
|
|||
|
||||
- withElementsInReverseCall: (void(*)(elt))aFunc;
|
||||
{
|
||||
BOOL flag = NO;
|
||||
BOOL flag = YES;
|
||||
[self withElementsInReverseCall:aFunc whileTrue:&flag];
|
||||
return self;
|
||||
}
|
||||
|
||||
- safeWithElementsInReverseCall: (void(*)(elt))aFunc;
|
||||
{
|
||||
BOOL flag = NO;
|
||||
BOOL flag = YES;
|
||||
[self safeWithElementsInReverseCall:aFunc whileTrue:&flag];
|
||||
return self;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue