Index: src/OFAutoreleasePool.h ================================================================== --- src/OFAutoreleasePool.h +++ src/OFAutoreleasePool.h @@ -30,11 +30,11 @@ * Adds an object to the autorelease pool at the top of the thread-specific * stack. * * \param obj The object to add to the autorelease pool */ -+ (void)addObjectToTopmostPool: (id)obj; ++ (void)addObject: (id)obj; + (void)releaseAll; /** * Adds an object to the specific autorelease pool. Index: src/OFAutoreleasePool.m ================================================================== --- src/OFAutoreleasePool.m +++ src/OFAutoreleasePool.m @@ -37,11 +37,11 @@ if (!of_tlskey_new(&first_key) || !of_tlskey_new(&last_key)) @throw [OFInitializationFailedException newWithClass: self]; } #endif -+ (void)addObjectToTopmostPool: (id)obj ++ (void)addObject: (id)obj { #ifdef OF_THREADS id last = of_tlskey_get(last_key); #endif Index: src/OFBlock.m ================================================================== --- src/OFBlock.m +++ src/OFBlock.m @@ -215,10 +215,10 @@ * GNU runtime. */ if (autoreleasepool == Nil) autoreleasepool = [OFAutoreleasePool class]; - [autoreleasepool addObjectToTopmostPool: self]; + [autoreleasepool addObject: self]; return self; } @end Index: src/OFObject.m ================================================================== --- src/OFObject.m +++ src/OFObject.m @@ -624,11 +624,11 @@ * GNU runtime. */ if (autoreleasepool == Nil) autoreleasepool = [OFAutoreleasePool class]; - [autoreleasepool addObjectToTopmostPool: self]; + [autoreleasepool addObject: self]; return self; } - (void)dealloc