Commit 8972bcd8 by Andrew Ruder Committed by Andrew Pinski

sendmsg.c (__objc_get_forward_imp): Call __objc_msg_forward2 for real.

2007-04-21  Andrew Ruder  <andy@aeruder.net>

        * sendmsg.c (__objc_get_forward_imp): Call
        __objc_msg_forward2 for real.

From-SVN: r124035
parent f06b0a10
2007-04-21 Andrew Ruder <andy@aeruder.net>
* sendmsg.c (__objc_get_forward_imp): Call
__objc_msg_forward2 for real.
2007-04-09 Andrew Ruder <andy@aeruder.net> 2007-04-09 Andrew Ruder <andy@aeruder.net>
* sendmsg.c: Added __objc_msg_forward2, a hook that allows * sendmsg.c: Added __objc_msg_forward2, a hook that allows
......
...@@ -96,6 +96,12 @@ __objc_get_forward_imp (id rcv, SEL sel) ...@@ -96,6 +96,12 @@ __objc_get_forward_imp (id rcv, SEL sel)
/* If a custom forwarding hook was registered, try getting a forwarding /* If a custom forwarding hook was registered, try getting a forwarding
function from it. There are two forward routine hooks, one that function from it. There are two forward routine hooks, one that
takes the receiver as an argument and one that does not. */ takes the receiver as an argument and one that does not. */
if (__objc_msg_forward2)
{
IMP result;
if ((result = __objc_msg_forward2 (rcv, sel)) != NULL)
return result;
}
if (__objc_msg_forward) if (__objc_msg_forward)
{ {
IMP result; IMP result;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment