ObjFW  Diff

Differences From Artifact [312b1063e8]:

To Artifact [522c9d1fef]:


209
210
211
212
213
214
215






216

217
218
219
220
221
222
223
209
210
211
212
213
214
215
216
217
218
219
220
221

222
223
224
225
226
227
228
229







+
+
+
+
+
+
-
+







		if ((object = va_arg(arguments, id)) == nil)
			@throw [OFInvalidArgumentException
			    exceptionWithClass: [self class]
				      selector: _cmd];

		count = 1;
		for (; va_arg(argumentsCopy, id) != nil; count++);

		if (count % 2 != 0)
			@throw [OFInvalidArgumentException
			    exceptionWithClass: [self class]
				      selector: _cmd];

		count >>= 1;
		count /= 2;

		_mapTable = [[OFMapTable alloc]
		    initWithKeyFunctions: keyFunctions
			  valueFunctions: valueFunctions
				capacity: count];

		[_mapTable setValue: object