ObjFW  Diff

Differences From Artifact [a5f000b446]:

  • File src/foundation-compat.m — part of check-in [0509d7a844] at 2019-01-03 19:13:03 on branch trunk — Update copyright (user: js size: 2795)

To Artifact [8a3ccfcff7]:

  • File src/foundation-compat.m — part of check-in [754bf24742] at 2019-02-07 21:31:16 on branch trunk — More style improvements (user: js size: 2801)

39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
static id
alloc(Class self, SEL _cmd)
{
	return [OFAutoreleasePool alloc];
}

static void
addObject(Class self, SEL _cmd, id obj)
{
	[OFAutoreleasePool addObject: obj];
}

static id
autorelease(id self, SEL _cmd)
{
	[OFAutoreleasePool addObject: self];








|

|







39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
static id
alloc(Class self, SEL _cmd)
{
	return [OFAutoreleasePool alloc];
}

static void
addObject(Class self, SEL _cmd, id object)
{
	[OFAutoreleasePool addObject: object];
}

static id
autorelease(id self, SEL _cmd)
{
	[OFAutoreleasePool addObject: self];