Differences From Artifact [d765ca91e7]:
- File src/OFArray.h — part of check-in [32f7b1390a] at 2012-03-12 11:01:07 on branch trunk — Remove +[OFArray arrayWithCArray:] as it is pretty useless. (user: js, size: 9145) [annotate] [blame] [check-ins using]
To 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]
︙ | ︙ | |||
83 84 85 86 87 88 89 | * \brief Creates a new OFArray with the objects from the specified C array of * the specified length. * * \param objects A C array of objects * \param length The length of the C array * \return A new autoreleased OFArray */ | | | | 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | * \brief Creates a new OFArray with the objects from the specified C array of * the specified length. * * \param objects A C array of objects * \param length The length of the C array * \return A new autoreleased OFArray */ + arrayWithObjects: (id*)objects count: (size_t)count; /** * \brief Initializes an OFArray with the specified object. * * \param object An object * \return An initialized OFArray */ |
︙ | ︙ | |||
128 129 130 131 132 133 134 | * \brief Initializes an OFArray with the objects from the specified C array of * the specified length. * * \param objects A C array of objects * \param length The length of the C array * \return An initialized OFArray */ | | | | 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 | * \brief Initializes an OFArray with the objects from the specified C array of * the specified length. * * \param objects A C array of objects * \param length The length of the C array * \return An initialized OFArray */ - initWithObjects: (id*)objects count: (size_t)count; /** * \brief Returns a specified object of the array. * * The returned object is <i>not</i> retained and autoreleased for performance * reasons! * |
︙ | ︙ | |||
156 157 158 159 160 161 162 | inRange: (of_range_t)range; /** * \brief Returns the objects of the array as a C array. * * \return The objects of the array as a C array */ | | | 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 | inRange: (of_range_t)range; /** * \brief Returns the objects of the array as a C array. * * \return The objects of the array as a C array */ - (id*)objects; /** * \brief Returns the index of the first object that is equivalent to the * specified object or OF_INVALID_INDEX if it was not found. * * \param object The object whose index is returned * \return The index of the first object equivalent to the specified object |
︙ | ︙ |