Differences From Artifact [0009cc3f48]:
- File src/OFAutoreleasePool.h — part of check-in [972a3ee40d] at 2011-09-10 18:36:45 on branch trunk — Remove -[finalize] as ARC will be implemented instead of a GC. (user: js, size: 2410) [annotate] [blame] [check-ins using]
To Artifact [55b2b70b8b]:
- File
src/OFAutoreleasePool.h
— part of check-in
[2e484248de]
at
2011-09-22 12:09:34
on branch trunk
— Make it impossible to add objects to arbitrary autorelease pools.
This is almost never done, and was made impossible in ARC-compatible
code. (user: js, size: 2285) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
36 37 38 39 40 41 42 | * thread-specific autorelease pool stack. * * \param object The object to add to the autorelease pool */ + (void)addObject: (id)object; /// \cond internal | | > < < < < < < < | 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | * thread-specific autorelease pool stack. * * \param object The object to add to the autorelease pool */ + (void)addObject: (id)object; /// \cond internal + (void)_releaseAll; - (void)_addObject: (id)object; /// \endcond /** * \brief Releases all objects in the autorelease pool. * * This does not free the memory allocated to store pointers to the objects in * the pool, so reusing the pool does not allocate any memory until the previous * number of objects is exceeded. It behaves this way to optimize loops that * always work with the same or similar number of objects and call relaseObjects |
︙ | ︙ |