ObjFW  Diff

Differences From Artifact [f95015fcd1]:

To Artifact [0ba491b550]:


147
148
149
150
151
152
153
154

155
156
157
158
159
160
161
162
147
148
149
150
151
152
153

154

155
156
157
158
159
160
161







-
+
-








- (void)release
{
}

- (void)dealloc
{
	[self doesNotRecognizeSelector: _cmd];
	OF_UNRECOGNIZED_SELECTOR
	abort();

	/* Get rid of a stupid warning */
	[super dealloc];
}
@end

@implementation OFMutableArray
215
216
217
218
219
220
221
222

223
224
225
226
227
228
229
230
214
215
216
217
218
219
220

221

222
223
224
225
226
227
228







-
+
-







	[self insertObjectsFromArray: array
			     atIndex: [self count]];
}

- (void)insertObject: (id)object
	     atIndex: (size_t)index
{
	[self doesNotRecognizeSelector: _cmd];
	OF_UNRECOGNIZED_SELECTOR
	abort();
}

- (void)insertObjectsFromArray: (OFArray*)array
		       atIndex: (size_t)index
{
	void *pool = objc_autoreleasePoolPush();
	OFEnumerator *enumerator = [array objectEnumerator];
241
242
243
244
245
246
247
248

249
250
251
252
253
254
255
256
239
240
241
242
243
244
245

246

247
248
249
250
251
252
253







-
+
-








	objc_autoreleasePoolPop(pool);
}

- (void)replaceObjectAtIndex: (size_t)index
		  withObject: (id)object
{
	[self doesNotRecognizeSelector: _cmd];
	OF_UNRECOGNIZED_SELECTOR
	abort();
}

-    (void)setObject: (id)object
  atIndexedSubscript: (size_t)index
{
	[self replaceObjectAtIndex: index
			withObject: object];
293
294
295
296
297
298
299
300

301
302
303
304
305
306
307
308
290
291
292
293
294
295
296

297

298
299
300
301
302
303
304







-
+
-







			return;
		}
	}
}

- (void)removeObjectAtIndex: (size_t)index
{
	[self doesNotRecognizeSelector: _cmd];
	OF_UNRECOGNIZED_SELECTOR
	abort();
}

- (void)removeObject: (id)object
{
	size_t i, count;

	if (object == nil)