Differences From Artifact [d4653e60d0]:
- File
src/OFAutoreleasePool.h
— part of check-in
[dfc10dbeb8]
at
2009-01-06 22:38:25
on branch trunk
— Use OFList and OFArray in OFAutoreleasePool.
This reduces code duplication and looks far better. (user: js, size: 1080) [annotate] [blame] [check-ins using]
To Artifact [9729efb348]:
- File
src/OFAutoreleasePool.h
— part of check-in
[526d04018d]
at
2009-05-23 21:53:20
on branch trunk
— A few renames.
OFArray:
* -[add:] to -[addObject:].
* -[last] to -[lastObject].OFAutoreleasePool:
* +[addToPool:] to +[addObjectToTopmostPool:].
* -[addToPool:] to -[addObject:].OFDataArray:
* -[add:] to -[addItem:].
* -[last] to -[lastItem].OFObject:
* -[addToMemoryPool:] to -[addItemToMemoryPool:]. (user: js, size: 1083) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
26 27 28 29 30 31 32 | /** * 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 */ | | < | | 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | /** * 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: (OFObject*)obj; /** * Adds an object to the specific autorelease pool. * * \param obj The object to add to the autorelease pool */ - addObject: (OFObject*)obj; /** * Releases all objects in the autorelease pool. */ - releaseObjects; @end |