mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
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:
parent
19796a1465
commit
9eb8d1d49b
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue