Differences From Artifact [a923c5af53]:
- File
src/OFMutableArray_adjacent.m
— part of check-in
[008be86a16]
at
2012-03-12 11:54:22
on branch trunk
— OFArray: +[arrayWithCArray:length:] -> +[arrayWithObjects:count:].
This is required for the new array literals. (user: js, size: 6556) [annotate] [blame] [check-ins using] [more...]
To Artifact [998a7318fe]:
- File
src/OFMutableArray_adjacent.m
— part of check-in
[13e6e99067]
at
2012-06-06 12:15:40
on branch trunk
— swapObjectAtIndex... -> exchangeObjectAtIndex...
For consistency with Foundation. (user: js, size: 6564) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
208 209 210 211 212 213 214 | id object = [self objectAtIndex: [array count] - 1]; [array removeLastItem]; [object release]; mutations++; } | | | | 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 | id object = [self objectAtIndex: [array count] - 1]; [array removeLastItem]; [object release]; mutations++; } - (void)exchangeObjectAtIndex: (size_t)index1 withObjectAtIndex: (size_t)index2 { id *objects = [array cArray]; size_t count = [array count]; id tmp; if (index1 >= count || index2 >= count) @throw [OFOutOfRangeException exceptionWithClass: isa]; |
︙ | ︙ |