mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 20:26:42 +00:00
Varous tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25330 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
350af41dcc
commit
89a0cb9080
7 changed files with 329 additions and 284 deletions
|
@ -839,7 +839,7 @@ static SEL rlSel;
|
|||
- (NSArray *) objectsAtIndexes: (NSIndexSet *)indexes
|
||||
{
|
||||
//FIXME: probably slow!
|
||||
NSMutableArray * group = [NSMutableArray arrayWithCapacity: [indexes count]];
|
||||
NSMutableArray *group = [NSMutableArray arrayWithCapacity: [indexes count]];
|
||||
|
||||
unsigned i = [indexes firstIndex];
|
||||
while (i != NSNotFound)
|
||||
|
@ -1732,7 +1732,7 @@ compare(id elem1, id elem2, void* context)
|
|||
unsigned indexArray[count];
|
||||
|
||||
[indexes getIndexes: indexArray
|
||||
maxCount:count
|
||||
maxCount: count
|
||||
inIndexRange: NULL];
|
||||
|
||||
[self removeObjectsFromIndices: indexArray
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue