ObjFW  Check-in [1b1db13483]

Overview
Comment:Extremely minor API inconsistency fix
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 1b1db134834529a154e095d53f32e6729c87038b0f864e7da7a3c10f9c46fd1f
User & Date: js on 2015-06-28 16:16:38
Other Links: manifest | tags
Context
2015-06-28
16:28
Add OF_SUBCLASSING_RESTRICTED check-in: 5116342c0a user: js tags: trunk
16:16
Extremely minor API inconsistency fix check-in: 1b1db13483 user: js tags: trunk
2015-06-17
22:19
utils/ofhttp: Make old Apple GCC happy check-in: a3f24bdd18 user: js tags: trunk
Changes

Modified src/OFMapTable.m from [101f595560] to [ccd71cdedf].

229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
			hash += _valueFunctions.hash(_buckets[i]->value);
		}
	}

	return hash;
}

- (id)copy
{
	OFMapTable *copy = [[OFMapTable alloc]
	    initWithKeyFunctions: _keyFunctions
		  valueFunctions: _valueFunctions
			capacity: _capacity];

	@try {







|







229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
			hash += _valueFunctions.hash(_buckets[i]->value);
		}
	}

	return hash;
}

- copy
{
	OFMapTable *copy = [[OFMapTable alloc]
	    initWithKeyFunctions: _keyFunctions
		  valueFunctions: _valueFunctions
			capacity: _capacity];

	@try {

Modified src/OFUDPSocket.m from [1641047e8d] to [c798b7ff61].

367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
{
	if (_socket != INVALID_SOCKET)
		[self close];

	[super dealloc];
}

- (id)copy
{
	return [self retain];
}

- (uint16_t)bindToHost: (OFString*)host
		  port: (uint16_t)port
{







|







367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
{
	if (_socket != INVALID_SOCKET)
		[self close];

	[super dealloc];
}

- copy
{
	return [self retain];
}

- (uint16_t)bindToHost: (OFString*)host
		  port: (uint16_t)port
{