@@ -384,51 +384,45 @@ #endif } + alloc { - [self doesNotRecognizeSelector: _cmd]; - abort(); + OF_UNRECOGNIZED_SELECTOR } - init { OF_INVALID_INIT_METHOD } - (void*)allocMemoryWithSize: (size_t)size { - [self doesNotRecognizeSelector: _cmd]; - abort(); + OF_UNRECOGNIZED_SELECTOR } - (void*)allocMemoryWithSize: (size_t)size count: (size_t)count { - [self doesNotRecognizeSelector: _cmd]; - abort(); + OF_UNRECOGNIZED_SELECTOR } - (void*)resizeMemory: (void*)ptr size: (size_t)size { - [self doesNotRecognizeSelector: _cmd]; - abort(); + OF_UNRECOGNIZED_SELECTOR } - (void*)resizeMemory: (void*)ptr size: (size_t)size count: (size_t)count { - [self doesNotRecognizeSelector: _cmd]; - abort(); + OF_UNRECOGNIZED_SELECTOR } - (void)freeMemory: (void*)ptr { - [self doesNotRecognizeSelector: _cmd]; - abort(); + OF_UNRECOGNIZED_SELECTOR } - retain { if (object_getClass(self) == (Class)&_NSConcreteMallocBlock) @@ -465,12 +459,11 @@ Block_release(self); } - (void)dealloc { - [self doesNotRecognizeSelector: _cmd]; - abort(); + OF_UNRECOGNIZED_SELECTOR /* Get rid of a stupid warning */ [super dealloc]; } @end