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:
theraven 2009-11-23 16:43:08 +00:00
parent d9749d603d
commit 5e3de82c70

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;
}