Differences From Artifact [1cec556c42]:
- File src/OFMutableArray.m — part of check-in [bd9f5d90ae] at 2009-11-28 20:48:44 on branch trunk — Add -[removeObject:] and -[removeObjectIdenticalTo:] to OFMutableArray. (user: js, size: 1981) [annotate] [blame] [check-ins using]
To Artifact [0fbd60e094]:
- File src/OFMutableArray.m — part of check-in [b83a3b4d9c] at 2009-12-01 17:45:56 on branch trunk — Fix -[removeItemAtIndex:], -[removeNItems:atIndex:], -[removeObject:]. (user: js, size: 1997) [annotate] [blame] [check-ins using]
︙ | |||
46 47 48 49 50 51 52 53 54 55 56 57 58 59 | 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | + | OFObject **objs = [array cArray]; size_t i, count = [array count]; for (i = 0; i < count; i++) { if ([objs[i] isEqual: obj]) { [objs[i] release]; [array removeItemAtIndex: i]; return self; } } return self; } - removeObjectIdenticalTo: (id)obj |
︙ |