ObjFW  Check-in [730b2cbdf6]

Overview
Comment:ForwardingTests: Minor type encoding fix.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 730b2cbdf6c2f925f1ce80d5ae69fb538900c213c85132adee218068854efec0
User & Date: js on 2012-08-04 00:41:02
Other Links: manifest | tags
Context
2012-08-04
00:50
runtime.h: Properly check for __has_feature. check-in: d690b3e135 user: js tags: trunk
00:41
ForwardingTests: Minor type encoding fix. check-in: 730b2cbdf6 user: js tags: trunk
00:16
Add new files to Xcode project. check-in: b652a7e3a0 user: js tags: trunk
Changes

Modified tests/ForwardingTests.m from [e826c9d596] to [8d9f5abd5c].

43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
+ (BOOL)resolveClassMethod: (SEL)selector
{
	forwardings++;

	if (sel_isEqual(selector, @selector(test))) {
		[self replaceClassMethod: @selector(test)
		      withImplementation: (IMP)test
			    typeEncoding: "v@:"];
		return YES;
	}

	return NO;
}

+ (BOOL)resolveInstanceMethod: (SEL)selector







|







43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
+ (BOOL)resolveClassMethod: (SEL)selector
{
	forwardings++;

	if (sel_isEqual(selector, @selector(test))) {
		[self replaceClassMethod: @selector(test)
		      withImplementation: (IMP)test
			    typeEncoding: "v#:"];
		return YES;
	}

	return NO;
}

+ (BOOL)resolveInstanceMethod: (SEL)selector