ObjFW  Diff

Differences From Artifact [dfed8e0734]:

To Artifact [2f06cacc09]:

  • File src/OFObject.m — part of check-in [53defb95a9] at 2012-11-28 19:27:27 on branch trunk — 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. (user: js, size: 25492) [annotate] [blame] [check-ins using]


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