Differences From Artifact [aacf1f5953]:
- File src/OFObject.h — part of check-in [9e6dd00ef5] at 2009-05-13 20:31:38 on branch trunk — Rename - free to - (void)dealloc. (user: js, size: 5068) [annotate] [blame] [check-ins using]
To Artifact [9df3b05f63]:
- File
src/OFObject.h
— part of check-in
[6d589825cd]
at
2009-05-13 20:39:59
on branch trunk
— Let - release return void again.
If you want to know if it will be released, you can just get the retain
count and check it this way. (user: js, size: 5074) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
199 200 201 202 203 204 205 | * \return The retain count */ - (size_t)retainCount; /** * Decreases the retain cound and deallocates the object if it reaches 0. */ | | | 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 | * \return The retain count */ - (size_t)retainCount; /** * Decreases the retain cound and deallocates the object if it reaches 0. */ - (void)release; /** * Deallocates the object and also frees all memory allocated via its memory * pool. */ - (void)dealloc; @end |