Differences From Artifact [e3fe4dcc30]:
- File src/OFBlock.m — part of check-in [56393a3fbd] at 2010-11-11 21:55:49 on branch trunk — OFBlock is now based on OFObject. (user: js, size: 7491) [annotate] [blame] [check-ins using]
To Artifact [922e8efbd5]:
- File src/OFBlock.m — part of check-in [09d6e5b6da] at 2010-11-12 13:37:51 on branch trunk — Improve autoreleasing blocks. (user: js, size: 7599) [annotate] [blame] [check-ins using]
︙ | |||
292 293 294 295 296 297 298 299 300 301 302 303 304 305 | 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 | + + + + + + + + | return self; } - copy { return Block_copy(self); } - autorelease { if (isa == (Class)&_NSConcreteMallocBlock) return [super autorelease]; return self; } - (size_t)retainCount { if (isa == (Class)&_NSConcreteMallocBlock) return ((of_block_literal_t*)self)->reserved; return SIZE_MAX; |
︙ |