Differences From Artifact [bf9a1af9b3]:
- File
src/OFArray.h
— 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: 9148) [annotate] [blame] [check-ins using]
To Artifact [1778f85d38]:
- File src/OFArray.h — part of check-in [a18e732a06] at 2012-03-12 12:05:22 on branch trunk — Make array literals work. (user: js, size: 9309) [annotate] [blame] [check-ins using] [more...]
︙ | |||
141 142 143 144 145 146 147 148 149 150 151 152 153 154 | 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 | + | * The returned object is <i>not</i> retained and autoreleased for performance * reasons! * * \param index The number of the object to return * \return The specified object of the OFArray */ - (id)objectAtIndex: (size_t)index; - (id)objectAtIndexedSubscript: (size_t)index; /** * \brief Copies the objects at the specified range to the specified buffer. * * \param buffer The buffer to copy the objects to * \param range The range to copy */ |
︙ | |||
327 328 329 330 331 332 333 | 328 329 330 331 332 333 334 335 336 337 338 339 | + + + + + | } - initWithArray: (OFArray*)data mutationsPtr: (unsigned long*)mutationsPtr; @end #import "OFMutableArray.h" #ifndef NSINTEGER_DEFINED /* Required for array literals to work */ @compatibility_alias NSArray OFArray; #endif |