ObjFW  Check-in [4bace0f852]

Overview
Comment:Oops. Forgot to remove a fixme before committing.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 4bace0f852dc5ee4102e67094b00bab6072055523b690fa98abd4cadb4461578
User & Date: js on 2011-02-04 15:36:49
Other Links: manifest | tags
Context
2011-02-04
16:01
Add OFDataArray (Hashing) category. check-in: 38057e75f0 user: js tags: trunk
15:36
Oops. Forgot to remove a fixme before committing. check-in: 4bace0f852 user: js tags: trunk
2011-02-03
20:58
Improve README. check-in: ce1e81bdb2 user: js tags: trunk
Changes

Modified src/foundation-compat.m from [7aefac85c2] to [1de79742c4].

10
11
12
13
14
15
16
17
18






19
20
21
22
23
24
25
 *
 * Alternatively, it may be distributed under the terms of the GNU General
 * Public License, either version 2 or 3, which can be found in the file
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

/* FIXME:
 * Kommentar warum benötigt






 */

#include "config.h"

#import <objc/runtime.h>

#import "OFAutoreleasePool.h"







|
|
>
>
>
>
>
>







10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 *
 * Alternatively, it may be distributed under the terms of the GNU General
 * Public License, either version 2 or 3, which can be found in the file
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

/*
 * This file replaces NSAutoreleasePool with OFAutoreleasePool when it is
 * linked. This is done so there is no conflict because OFBlocks are used
 * (blocks are OFBlocks as soon as ObjFW is linked). An application expecting
 * an NSBlock, but getting an OFBlock because ObjFW is linked, would fail to
 * autorelease the block otherwise, as the block would be in an
 * OFAutoreleasePool. By replacing NSAutoreleasePool with OFAutoreleasePool,
 * the application will still properly free the autoreleased block.
 */

#include "config.h"

#import <objc/runtime.h>

#import "OFAutoreleasePool.h"