Differences From Artifact [558bb07388]:
- File tests/OFAutoreleasePool/OFAutoreleasePool.m — part of check-in [4f4f619d84] at 2009-05-13 17:58:50 on branch trunk — Also release pools that are on top of the pool being released. (user: js, size: 1842) [annotate] [blame] [check-ins using]
To Artifact [ca3ccd4ed1]:
- File
tests/OFAutoreleasePool/OFAutoreleasePool.m
— 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: 1846) [annotate] [blame] [check-ins using]
︙ | |||
28 29 30 31 32 33 34 | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | - + | IMP init; IMP retain; IMP release; @interface TestObject: OFObject - init; - retain; |
︙ | |||
57 58 59 60 61 62 63 | 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | - + - - + | ret = retain(self, _cmd); printf("Retaining %s to " ZD "\n", [self name], [ret retainCount]); return ret; } |
︙ |