ObjFW  Diff

Differences From Artifact [1de79742c4]:

  • File src/foundation-compat.m — part of check-in [4bace0f852] at 2011-02-04 15:36:49 on branch trunk — Oops. Forgot to remove a fixme before committing. (user: js size: 2445)

To Artifact [233f316a15]:

  • File src/foundation-compat.m — part of check-in [c02e48e140] at 2011-04-12 14:51:47 on branch trunk — Use void in declarations when we take no parameters. (user: js size: 2449)

47
48
49
50
51
52
53
54

55
56
57
58
59
60
61
47
48
49
50
51
52
53

54
55
56
57
58
59
60
61







-
+







{
	[OFAutoreleasePool addObject: self];

	return self;
}

static void __attribute__((constructor))
init()
init(void)
{
	Class NSAutoreleasePool = objc_getClass("NSAutoreleasePool");
	Class NSObject = objc_getClass("NSObject");
	Method alloc_method;
	Method addObject_method;
	Method autorelease_method;