ObjFW  Check-in [9667b3fd54]

Overview
Comment:Small workaround for a Haiku bug.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | 0.7
Files: files | file ages | folders
SHA3-256: 9667b3fd5480b722fbafa9038fe1539cece4c80b17cdd075286c97fb6aa62bb8
User & Date: js on 2012-11-03 22:20:00
Other Links: branch diff | manifest | tags
Context
2012-11-05
18:25
autorelease: Fix a wrong of_tlskey_set. check-in: d981fca182 user: js tags: 0.7
2012-11-03
22:20
Small workaround for a Haiku bug. check-in: 9667b3fd54 user: js tags: 0.7
22:19
Blocks: Only use the lower 2 bytes as retain count check-in: 793bd8883b user: js tags: 0.7
Changes

Modified src/OFTLSKey.h from [3990e8ca34] to [b19c7d885e].

14
15
16
17
18
19
20





21
22
23
24
25
26
27
 * file.
 */

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

#import "threading.h"






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







>
>
>
>
>







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 [384da59e46] to [86aa6ed7ff].

14
15
16
17
18
19
20





21
22
23
24
25
26
27
 * file.
 */

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

#import "threading.h"






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

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







>
>
>
>
>







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);