ObjFW  Diff

Differences From Artifact [62db370766]:

To Artifact [9a3d14535d]:


209
210
211
212
213
214
215
216

217
218
219
220
221
222
223
224
225
226
227
209
210
211
212
213
214
215

216
217
218
219

220
221
222
223
224
225
226







-
+



-







- (size_t)count
{
	OF_UNRECOGNIZED_SELECTOR
}

- (id)valueForKey: (OFString *)key
{
	OFMutableSet *ret;
	id ret;

	if ([key hasPrefix: @"@"]) {
		void *pool = objc_autoreleasePoolPush();
		id ret;

		key = [key substringWithRange: of_range(1, [key length] - 1)];
		ret = [[super valueForKey: key] retain];

		objc_autoreleasePoolPop(pool);

		return [ret autorelease];
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
250
251
252
253
254
255
256



257
258
259
260
261
262
263







-
-
-







		[super setValue: value
			 forKey: key];

		objc_autoreleasePoolPop(pool);
		return;
	}

	if (value == [OFNull null])
		value = nil;

	for (id object in self)
		[object setValue: value
			  forKey: key];
}

- (bool)containsObject: (id)object
{