Differences From Artifact [712ba693de]:
- File
src/OFArray_adjacent.m
— part of check-in
[c5ef582958]
at
2013-03-04 17:20:15
on branch trunk
— Replace BOOL with bool.
The only places where BOOL is left are those where they are required by
the ABI. (user: js, size: 6984) [annotate] [blame] [check-ins using]
To Artifact [ad2d762abe]:
- File src/OFArray_adjacent.m — part of check-in [0bb3fc850a] at 2013-03-04 18:32:40 on branch trunk — Make old GCCs happy. (user: js, size: 7030) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
213 214 215 216 217 218 219 220 | - (id*)objects { return [_array items]; } - (id)objectAtIndex: (size_t)index { @try { | > > | > > > > | > > | 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 | - (id*)objects { return [_array items]; } - (id)objectAtIndex: (size_t)index { id ret; @try { ret = *((id*)[_array itemAtIndex: index]); } @catch (OFOutOfRangeException *e) { @throw [OFOutOfRangeException exceptionWithClass: [self class]]; } return ret; } - (id)objectAtIndexedSubscript: (size_t)index { id ret; @try { ret = *((id*)[_array itemAtIndex: index]); } @catch (OFOutOfRangeException *e) { @throw [OFOutOfRangeException exceptionWithClass: [self class]]; } return ret; } - (void)getObjects: (id*)buffer inRange: (of_range_t)range { id *objects = [_array items]; size_t i, count = [_array count]; |
︙ | ︙ |