Differences From Artifact [219e7884ea]:
- File
src/OFAutoreleasePool.h
— part of check-in
[e2b06423e0]
at
2010-09-05 23:19:08
on branch trunk
— Replace OFObject* with id in many places.
We assume now that every object understands retain, release, etc. so
that we can weaken the type from OFObject* to id. This makes it
possible to use different root object classes. (user: js, size: 2150) [annotate] [blame] [check-ins using]
To Artifact [5d5e0f8518]:
- File src/OFAutoreleasePool.h — part of check-in [eafb8d18ed] at 2010-09-07 09:10:33 on branch trunk — Rename +[addObjectToTopmostPool:] to +[addObject:]. (user: js, size: 2137) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
28 29 30 31 32 33 34 | /** * 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 */ | | | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | /** * 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)addObject: (id)obj; + (void)releaseAll; /** * Adds an object to the specific autorelease pool. * * \param obj The object to add to the autorelease pool |
︙ | ︙ |