ObjFW  Check-in [ac70a7059f]

Overview
Comment:Small workaround for a Haiku bug.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ac70a7059fd6db1d3f1ed3e202a3396d7b8b079b49b4e39aa455caf784039c5b
User & Date: js on 2012-11-03 22:19:14
Other Links: manifest | tags
Context
2012-11-05
18:24
autorelease: Fix a wrong of_tlskey_set. check-in: 68823d7234 user: js tags: trunk
2012-11-03
22:19
Small workaround for a Haiku bug. check-in: ac70a7059f user: js tags: trunk
22:18
Blocks: Only use the lower 2 bytes as retain count check-in: 616b4e0dd2 user: js tags: trunk
Changes

Modified src/OFTLSKey.h from [5168cee9c0] to [3fd8b514bf].

14
15
16
17
18
19
20





21
22
23
24
25
26
27
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32







+
+
+
+
+







 * file.
 */

#import "OFObject.h"
#import "OFList.h"

#import "threading.h"

/* Haiku used to define this for some unknown reason which causes trouble */
#ifdef protected
# undef protected
#endif

/*!
 * @brief A class for Thread Local Storage keys.
 */
@interface OFTLSKey: OFObject
{
@public

Modified src/OFThread.h from [f5f613cd72] to [eeffe88350].

14
15
16
17
18
19
20





21
22
23
24
25
26
27
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32







+
+
+
+
+







 * file.
 */

#import "OFObject.h"
#import "OFTLSKey.h"

#import "threading.h"

/* Haiku used to define this for some unknown reason which causes trouble */
#ifdef protected
# undef protected
#endif

@class OFDate;
@class OFSortedList;
@class OFRunLoop;

#ifdef OF_HAVE_BLOCKS
typedef id (^of_thread_block_t)(id object);