ObjFW  Check-in [e8dccdf9a9]

Overview
Comment:D'oh...
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: e8dccdf9a99e0840944bb10888690fec4308f4170c7ce8c272652f796fc39e13
User & Date: js on 2011-08-03 01:55:47
Other Links: manifest | tags
Context
2011-08-03
03:38
Fix updating the dtable for the old GNU runtime. check-in: 0322aa3168 user: js tags: trunk
01:55
D'oh... check-in: e8dccdf9a9 user: js tags: trunk
00:37
Fix wrong case in tests output. check-in: 0bb31fb062 user: js tags: trunk
Changes

Modified src/OFObject.m from [b74fa282bf] to [1dc5e5a7d1].

663
664
665
666
667
668
669
670
671


672
673
674

675
676
677

678
679
680
681
682
683
684
663
664
665
666
667
668
669


670
671
672
673

674

675

676
677
678
679
680
681
682
683







-
-
+
+


-
+
-

-
+







		for (i = 0; i < methodList->method_count; i++) {
			SEL selector = methodList->method_list[i].method_name;
			IMP implementation;

			/*
			 * Don't replace methods implemented in receiving class.
			 */
			if ([self instanceMethodForSelector: selector] !=
			    [superclass instanceMethodForSelector: selector])
			if ([self methodForSelector: selector] !=
			    [superclass methodForSelector: selector])
				continue;

			implementation =
			implementation = [class methodForSelector: selector];
			    [class instanceMethodForSelector: selector];

			if ([self instancesRespondToSelector: selector])
			if ([self respondsToSelector: selector])
				     [self setImplementation: implementation
					      forClassMethod: selector];
			else {
				const char *typeEncoding =
				    methodList->method_list[i].method_types;
				[self addClassMethod: selector
				    withTypeEncoding: typeEncoding