ObjFW  Check-in [4d18a4b596]

Overview
Comment:Use the copy attribute in properties for blocks.

Newer clang versions don't allow the retain attribute for blocks
anymore.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 4d18a4b59631cfa6b9bbfbe3504584d585992ce2540f82353ec5e16f6372ef03
User & Date: js on 2012-07-03 15:49:37
Other Links: manifest | tags
Context
2012-07-03
15:50
Merge branch 'runtime' check-in: 4c4fdb3429 user: js tags: trunk
15:49
Use the copy attribute in properties for blocks. check-in: 4d18a4b596 user: js tags: trunk
2012-06-17
22:47
Better description for OFException. check-in: 28ed6c344a user: js tags: trunk
Changes

Modified src/OFThread.h from [8fb7bca3d7] to [2dc62c0de7].

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 (retain) of_thread_block_t block;
#endif

/**
 * \brief Creates a new thread.
 *
 * \return A new, autoreleased thread
 */







|







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
 */