ObjFW  Check-in [2bf66ace60]

Overview
Comment:Add missing #ifdef OF_HAVE_BLOCKS.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 2bf66ace60c46c08f1cc6cc7dbfb2ed591efdc889fa482da96c8ba498bfd3aeb
User & Date: js on 2010-10-06 19:37:13
Other Links: manifest | tags
Context
2010-10-07
21:25
Fix a typo in OFStreamObserver, affecting it only when using select(). check-in: 1f02ada35e user: js tags: trunk
2010-10-06
19:37
Add missing #ifdef OF_HAVE_BLOCKS. check-in: 2bf66ace60 user: js tags: trunk
09:21
Fix x86(_64) asm for of_atomic_{or,and,xor}_32.
Improve x86(_64) asm for of_atomic_cmpswap_{32,ptr}.
check-in: 7334aa1c81 user: js tags: trunk
Changes

Modified src/OFBlock.m from [ec9c649489] to [cfb90f7281].

12
13
14
15
16
17
18





19
20
21
22
23
24
25
#include "config.h"

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#import "OFBlock.h"






#if defined(OF_GNU_RUNTIME) || defined(OF_OBJFW_RUNTIME)
struct objc_abi_class {
	struct objc_abi_metaclass *metaclass;
	const char *superclass, *name;
	unsigned long version, info, instance_size;
	void *ivars, *methodlist, *dtable, *subclass_list, *sibling_class;







>
>
>
>
>







12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include "config.h"

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#import "OFBlock.h"

@protocol RetainRelease
- retain;
- (void)release;
@end

#if defined(OF_GNU_RUNTIME) || defined(OF_OBJFW_RUNTIME)
struct objc_abi_class {
	struct objc_abi_metaclass *metaclass;
	const char *superclass, *name;
	unsigned long version, info, instance_size;
	void *ivars, *methodlist, *dtable, *subclass_list, *sibling_class;

Modified src/OFString+XMLUnescaping.h from [dde235754c] to [618bdaffae].

50
51
52
53
54
55
56

57
58
59
60
61
62
63
64

65
 * entities.
 *
 * \param h An OFXMLUnescapingDelegate as a handler for unknown entities
 */
- (OFString*)stringByXMLUnescapingWithDelegate:
    (id <OFStringXMLUnescapingDelegate>)delegate;


/**
 * Unescapes XML in the string and uses the specified block for unknown
 * entities.
 *
 * \param h A block as a handler for unknown entities
 */
- (OFString*)stringByXMLUnescapingWithBlock:
    (of_string_xml_unescaping_block_t)block;

@end







>








>

50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
 * entities.
 *
 * \param h An OFXMLUnescapingDelegate as a handler for unknown entities
 */
- (OFString*)stringByXMLUnescapingWithDelegate:
    (id <OFStringXMLUnescapingDelegate>)delegate;

#ifdef OF_HAVE_BLOCKS
/**
 * Unescapes XML in the string and uses the specified block for unknown
 * entities.
 *
 * \param h A block as a handler for unknown entities
 */
- (OFString*)stringByXMLUnescapingWithBlock:
    (of_string_xml_unescaping_block_t)block;
#endif
@end