ObjFW  Diff

Differences From Artifact [0c918cd51d]:

To Artifact [831aff56f7]:


136
137
138
139
140
141
142
143

144
145
146


147
148
149


150
151
152
153
154
155
156
136
137
138
139
140
141
142

143
144


145
146
147


148
149
150
151
152
153
154
155
156







-
+

-
-
+
+

-
-
+
+







 * @param count The length of the C array
 * @return An initialized OFArray
 */
- initWithObjects: (id const*)objects
	    count: (size_t)count;

/*!
 * @brief Returns a specified object of the array.
 * @brief Returns the object at the specified index in the array.
 *
 * The returned object is <i>not</i> retained and autoreleased for performance
 * reasons!
 * @warning The returned object is *not* retained and autoreleased for
 *	    performance reasons!
 *
 * @param index The number of the object to return
 * @return The specified object of the OFArray
 * @param index The index of the object to return
 * @return The object at the specified index in the array
 */
- (id)objectAtIndex: (size_t)index;
- (id)objectAtIndexedSubscript: (size_t)index;

/*!
 * @brief Copies the objects at the specified range to the specified buffer.
 *
196
197
198
199
200
201
202
203
204


205
206
207
208
209
210
211
212
213
214


215
216
217
218
219
220
221
196
197
198
199
200
201
202


203
204
205
206
207
208
209
210
211
212


213
214
215
216
217
218
219
220
221







-
-
+
+








-
-
+
+







 *	   address.
 */
- (BOOL)containsObjectIdenticalTo: (id)object;

/*!
 * @brief Returns the first object of the array or nil.
 *
 * The returned object is <i>not</i> retained and autoreleased for performance
 * reasons!
 * @warning The returned object is *not* retained and autoreleased for
 *	    performance reasons!
 *
 * @return The first object of the array or nil
 */
- (id)firstObject;

/*!
 * @brief Returns the last object of the array or nil.
 *
 * The returned object is <i>not</i> retained and autoreleased for performance
 * reasons!
 * @warning The returned object is *not* retained and autoreleased for
 *	    performance reasons!
 *
 * @return The last object of the array or nil
 */
- (id)lastObject;

/*!
 * @brief Returns the objects in the specified range as a new OFArray.