Differences From Artifact [e57d8be90e]:
- File
src/OFIterator.m
— part of check-in
[2a4aa05a84]
at
2009-05-05 12:05:06
on branch trunk
— Rename OFArray to OFDataArray and add a new OFArray which stores objects.
Additionally, change OFAutoreleasePool to use the new OFArray.And while at it, change #import <config.h> in some files to
#import "config.h". (user: js, size: 1113) [annotate] [blame] [check-ins using]
To Artifact [7c4dd9ded2]:
- File src/OFIterator.m — part of check-in [bdc9b3219f] at 2009-05-14 14:24:02 on branch trunk — Get rid of OFNotInSetException. (user: js, size: 1053) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
31 32 33 34 35 36 37 | } - (id)nextObject { if (last == NULL) { for (; pos < size && data[pos] == nil; pos++); if (pos == size) | | < | 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | } - (id)nextObject { if (last == NULL) { for (; pos < size && data[pos] == nil; pos++); if (pos == size) return nil; return (last = [data[pos++] first])->object; } if ((last = last->next) != NULL) return last->object; |
︙ | ︙ |