ObjFW  Diff

Differences From Artifact [c640f522f6]:

To Artifact [1ced59ee61]:


382
383
384
385
386
387
388
389

390
391
392
393
394
395
396
397
398
399
400

401
402
403
404
405
406
407

408
409
410
411
412
413
414

415
416
417
418
419
420
421
422

423
424
425
426
427
428

429
430
431
432
433
434
435
436
382
383
384
385
386
387
388

389

390
391
392
393
394
395
396
397
398

399

400
401
402
403
404

405

406
407
408
409
410

411

412
413
414
415
416
417

418

419
420
421
422

423

424
425
426
427
428
429
430







-
+
-









-
+
-





-
+
-





-
+
-






-
+
-




-
+
-







	objc_registerClassPair((Class)&_NSConcreteMallocBlock);
# endif
#endif
}

+ alloc
{
	[self doesNotRecognizeSelector: _cmd];
	OF_UNRECOGNIZED_SELECTOR
	abort();
}

- init
{
	OF_INVALID_INIT_METHOD
}

- (void*)allocMemoryWithSize: (size_t)size
{
	[self doesNotRecognizeSelector: _cmd];
	OF_UNRECOGNIZED_SELECTOR
	abort();
}

- (void*)allocMemoryWithSize: (size_t)size
		       count: (size_t)count
{
	[self doesNotRecognizeSelector: _cmd];
	OF_UNRECOGNIZED_SELECTOR
	abort();
}

- (void*)resizeMemory: (void*)ptr
		 size: (size_t)size
{
	[self doesNotRecognizeSelector: _cmd];
	OF_UNRECOGNIZED_SELECTOR
	abort();
}

- (void*)resizeMemory: (void*)ptr
		 size: (size_t)size
		count: (size_t)count
{
	[self doesNotRecognizeSelector: _cmd];
	OF_UNRECOGNIZED_SELECTOR
	abort();
}

- (void)freeMemory: (void*)ptr
{
	[self doesNotRecognizeSelector: _cmd];
	OF_UNRECOGNIZED_SELECTOR
	abort();
}

- retain
{
	if (object_getClass(self) == (Class)&_NSConcreteMallocBlock)
		return Block_copy(self);

463
464
465
466
467
468
469
470

471
472
473
474
475
476
457
458
459
460
461
462
463

464

465
466
467
468
469







-
+
-





{
	if (object_getClass(self) == (Class)&_NSConcreteMallocBlock)
		Block_release(self);
}

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

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