Artifact 78089d079fc280ce8f8c4153a441aed5d2ea5b508d424f381339f4019e153916:
- File
src/OFBlock.h
— part of check-in
[f78e4e4714]
at
2010-10-05 20:01:08
on branch trunk
— Remove -[autorelease] from OFBlock.
The reason is that a block might be an NSBlock on OS X where it would
add the block to an NSAutoreleasePool. This change forces the developer
to use [OFAutoreleasePool addObject: block], which will also work if
the block is an NSBlock. Thus, this change is to force developers to
write portable code. (user: js, size: 1831) [annotate] [blame] [check-ins using]
A hex dump of this file is not available. Please download the raw binary file and generate a hex dump yourself.