ObjFW  Diff

Differences From Artifact [eb78f84a2f]:

To Artifact [346c4b0ea9]:


132
133
134
135
136
137
138
139

140
141
142

143
144
145
146
147
148

149
150
151
152

153
154
155
156
157
158
159
132
133
134
135
136
137
138

139
140
141
142
143
144
145
146
147
148

149
150
151
152

153
154
155
156
157
158
159
160







-
+



+





-
+



-
+







 * \param index The number of the object to return
 * \return The specified object of the OFArray
 */
- (id)objectAtIndex: (size_t)index;

/**
 * Returns the index of the first object that is equivalent to the specified
 * object.
 * object or SIZE_MAX if it was not found.
 *
 * \param obj The object whose index is returned
 * \return The index of the first object equivalent to the specified object
 * 	   or SIZE_MAX if it was not found
 */
- (size_t)indexOfObject: (id)obj;

/**
 * Returns the index of the first object that has the same address as the
 * specified object.
 * specified object or SIZE_MAX if it was not found.
 *
 * \param obj The object whose index is returned
 * \return The index of the first object that has the same aaddress as
 *	   the specified object
 *	   the specified object or SIZE_MAX if it was not found
 */
- (size_t)indexOfObjectIdenticalTo: (id)obj;

/**
 * Returns the first object of the array or nil.
 *
 * The returned object is <i>not</i> retained and autoreleased for performance