Added fall-back line for forwarding. Now -forwardingProxyForSelector: should work on all runtimes, with all ABIs, it will just be painfully slow on the GCC runtime and the legacy ABI.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29048 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Chisnall 2009-11-23 16:43:08 +00:00
parent 19796a1465
commit 9eb8d1d49b

View file

@ -1572,6 +1572,12 @@ GSGarbageCollectorLog(char *msg, GC_word arg)
*/
- (void) forwardInvocation: (NSInvocation*)anInvocation
{
id target = [self forwardingTargetForSelector: [anInvocation selector]];
if (nil != target)
{
[anInvocation invokeWithTarget: target];
return;
}
[self doesNotRecognizeSelector: [anInvocation selector]];
return;
}