ObjFW  Check-in [4cd4d94ea8]

Overview
Comment:Don't use @defs - it's not available in the ObjC2 ABI.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 4cd4d94ea81f8452378771d99d3bf9d03567775a2f0b8cea813294d38744b126
User & Date: js on 2009-05-24 21:51:15
Other Links: manifest | tags
Context
2009-05-25
17:00
Improve objc_sync.m. check-in: 5337be0924 user: js tags: trunk
2009-05-24
21:51
Don't use @defs - it's not available in the ObjC2 ABI. check-in: 4cd4d94ea8 user: js tags: trunk
21:09
Fall back to gethostbyname + locking if getaddrinfo is missing. check-in: 488da685e4 user: js tags: trunk
Changes

Modified src/OFObject.m from [b3df5176b4] to [3d254d43a1].

33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
};

/* Hopefully no arch needs more than 16 bytes padding */
#define PRE_IVAR_ALIGN ((sizeof(struct pre_ivar) + 15) & ~15)
#define PRE_IVAR ((struct pre_ivar*)((char*)self - PRE_IVAR_ALIGN))

static struct {
	@defs(OFAllocFailedException)
} alloc_failed_exception;

@implementation OFObject
+ (void)initialize
{
}








|







33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
};

/* Hopefully no arch needs more than 16 bytes padding */
#define PRE_IVAR_ALIGN ((sizeof(struct pre_ivar) + 15) & ~15)
#define PRE_IVAR ((struct pre_ivar*)((char*)self - PRE_IVAR_ALIGN))

static struct {
	Class isa;
} alloc_failed_exception;

@implementation OFObject
+ (void)initialize
{
}