Differences From Artifact [cb33472061]:
- File
src/OFArray_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: 6144) [annotate] [blame] [check-ins using]
To Artifact [0afb4e2882]:
- File src/OFArray_adjacent.m — part of check-in [a18e732a06] at 2012-03-12 12:05:22 on branch trunk — Make array literals work. (user: js, size: 6239) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
194 195 196 197 198 199 200 201 202 203 204 205 206 207 | - (id*)objects { return [array cArray]; } - (id)objectAtIndex: (size_t)index { return *((id*)[array itemAtIndex: index]); } - (void)getObjects: (id*)buffer inRange: (of_range_t)range { id *objects = [array cArray]; | > > > > > | 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 | - (id*)objects { return [array cArray]; } - (id)objectAtIndex: (size_t)index { return *((id*)[array itemAtIndex: index]); } - (id)objectAtIndexedSubscript: (size_t)index { return *((id*)[array itemAtIndex: index]); } - (void)getObjects: (id*)buffer inRange: (of_range_t)range { id *objects = [array cArray]; |
︙ | ︙ |