ObjFW  Diff

Differences From Artifact [2f6f04f166]:

To Artifact [0c3512457f]:


102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117

- (void)release
{
}

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

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

@implementation OFArray







|
<







102
103
104
105
106
107
108
109

110
111
112
113
114
115
116

- (void)release
{
}

- (void)dealloc
{
	OF_UNRECOGNIZED_SELECTOR


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

@implementation OFArray
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
- initWithSerialization: (OFXMLElement*)element
{
	OF_INVALID_INIT_METHOD
}

- (size_t)count
{
	[self doesNotRecognizeSelector: _cmd];
	abort();
}

- (void)getObjects: (id*)buffer
	   inRange: (of_range_t)range
{
	size_t i;








|
<







222
223
224
225
226
227
228
229

230
231
232
233
234
235
236
- initWithSerialization: (OFXMLElement*)element
{
	OF_INVALID_INIT_METHOD
}

- (size_t)count
{
	OF_UNRECOGNIZED_SELECTOR

}

- (void)getObjects: (id*)buffer
	   inRange: (of_range_t)range
{
	size_t i;

265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
- mutableCopy
{
	return [[OFMutableArray alloc] initWithArray: self];
}

- (id)objectAtIndex: (size_t)index
{
	[self doesNotRecognizeSelector: _cmd];
	abort();
}

- (id)objectAtIndexedSubscript: (size_t)index
{
	return [self objectAtIndex: index];
}








|
<







263
264
265
266
267
268
269
270

271
272
273
274
275
276
277
- mutableCopy
{
	return [[OFMutableArray alloc] initWithArray: self];
}

- (id)objectAtIndex: (size_t)index
{
	OF_UNRECOGNIZED_SELECTOR

}

- (id)objectAtIndexedSubscript: (size_t)index
{
	return [self objectAtIndex: index];
}