ObjFW  Check-in [53defb95a9]

Overview
Comment:Remove broken forwarding target for ObjFW-RT.

While it calls the correct method, it does not pass the correct object
to that code. This would need a trampoline that replaces the object,
written in assembly for each platform. Therefore, it will be only
available for some platforms later and the broken code will not come
back.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 53defb95a99b9fbfead33b7eb69418f4c02d9c85a24fc92c85da8e7f5295b620
User & Date: js on 2012-11-28 19:27:27
Other Links: manifest | tags
Context
2012-11-30
15:37
Remove functions from runtime.h that don't exist. check-in: 2b0389eeeb user: js tags: trunk
2012-11-28
19:27
Remove broken forwarding target for ObjFW-RT. check-in: 53defb95a9 user: js tags: trunk
18:00
Update PLATFORMS.md. check-in: c6a72664f6 user: js tags: trunk
Changes

Modified src/OFObject.m from [dfed8e0734] to [2f06cacc09].

159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
				abort();
			}

			return objc_msg_lookup(obj, sel);
		}
	}

	/* Try forwardingTargetForSelector: */
	if (class_respondsToSelector(object_getClass(obj),
	    @selector(forwardingTargetForSelector:))) {
		id target = [obj forwardingTargetForSelector: sel];

		if (target != obj && target != nil)
			return objc_msg_lookup(target, sel);
	}

	of_method_not_found(obj, sel);
	return NULL;
}
#endif

#ifndef HAVE_OBJC_ENUMERATIONMUTATION
void







<
<
<
<
<
<
<
<
<







159
160
161
162
163
164
165









166
167
168
169
170
171
172
				abort();
			}

			return objc_msg_lookup(obj, sel);
		}
	}










	of_method_not_found(obj, sel);
	return NULL;
}
#endif

#ifndef HAVE_OBJC_ENUMERATIONMUTATION
void