Differences From Artifact [8fb7bca3d7]:
- File src/OFThread.h — part of check-in [ce70e17b38] at 2012-01-05 00:56:18 on branch trunk — Update copyright. (user: js, size: 7296) [annotate] [blame] [check-ins using]
To Artifact [2dc62c0de7]:
- File
src/OFThread.h
— part of check-in
[4d18a4b596]
at
2012-07-03 15:49:37
on branch trunk
— Use the copy attribute in properties for blocks.
Newer clang versions don't allow the retain attribute for blocks
anymore. (user: js, size: 7294) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
88 89 90 91 92 93 94 | #ifdef OF_HAVE_BLOCKS of_thread_block_t block; #endif id returnValue; } #if defined(OF_HAVE_PROPERTIES) && defined(OF_HAVE_BLOCKS) | | | 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | #ifdef OF_HAVE_BLOCKS of_thread_block_t block; #endif id returnValue; } #if defined(OF_HAVE_PROPERTIES) && defined(OF_HAVE_BLOCKS) @property (copy) of_thread_block_t block; #endif /** * \brief Creates a new thread. * * \return A new, autoreleased thread */ |
︙ | ︙ |