Overview
| Comment: | Nicer fast enumeration for OFSet. |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
e287e086c269dddfe03a6caeaf1a95ab |
| User & Date: | js on 2011-07-22 18:30:50 |
| Other Links: | manifest | tags |
Context
|
2011-07-22
| ||
| 18:49 | Improve methods using blocks in OFArray. (check-in: f9b3ec49f8 user: js tags: trunk) | |
| 18:30 | Nicer fast enumeration for OFSet. (check-in: e287e086c2 user: js tags: trunk) | |
| 00:00 | Include OFSet in ObjFW.h. (check-in: ac598c5ec3 user: js tags: trunk) | |
Changes
Modified src/OFMutableSet.m from [77a980e945] to [842dbccb4e].
| ︙ | |||
75 76 77 78 79 80 81 | 75 76 77 78 79 80 81 82 | - - - - - - - - - - - - - | id object; while ((object = [enumerator nextObject]) != nil) [self addObject: object]; [pool release]; } |
Modified src/OFSet.m from [89818a2387] to [055b4111d5].
| ︙ | |||
269 270 271 272 273 274 275 | 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 | - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + |
return [dictionary keyEnumerator];
}
- (int)countByEnumeratingWithState: (of_fast_enumeration_state_t*)state
objects: (id*)objects
count: (int)count
{
|
| ︙ |