ObjFW  Diff

Differences From Artifact [249698b888]:

To Artifact [276359729c]:


24
25
26
27
28
29
30
31

32
33
34
35

36
37
38
39
40
41
42

43
44
45
46
47
48
49
50
51
52
24
25
26
27
28
29
30

31




32







33
34


35
36
37
38
39
40
41







-
+
-
-
-
-
+
-
-
-
-
-
-
-
+

-
-








@implementation OHGameControllerEmulatedTriggerButton
- (instancetype)initWithName: (OFString *)name
{
	OF_INVALID_INIT_METHOD
}

- (instancetype)initWithAxis: (OHGameControllerAxis *)axis
- (instancetype)initWithName: (OFString *)name
{
	void *pool = objc_autoreleasePoolPush();
	OFString *name;

			axis: (OHGameControllerAxis *)axis
	@try {
		name = axis.name;
	} @catch (id e) {
		[self release];
		@throw e;
	}

{
	self = [super initWithName: name];

	objc_autoreleasePoolPop(pool);

	_axis = [axis retain];

	return self;
}

- (void)dealloc