aboutsummaryrefslogtreecommitdiff
path: root/libobjc/sendmsg.c
diff options
context:
space:
mode:
authorNicola Pero <nicola.pero@meta-innovation.com>2011-06-03 17:02:03 +0000
committerNicola Pero <nicola@gcc.gnu.org>2011-06-03 17:02:03 +0000
commit4236b2e5c238ee248cebbb2c84a0c78e539e8d08 (patch)
treeef8a6176a38c99a2cbead3be1e04218d8f213198 /libobjc/sendmsg.c
parentc192cee6838eea5956fc53055531d6d463cd2b6e (diff)
downloadgcc-4236b2e5c238ee248cebbb2c84a0c78e539e8d08.zip
gcc-4236b2e5c238ee248cebbb2c84a0c78e539e8d08.tar.gz
gcc-4236b2e5c238ee248cebbb2c84a0c78e539e8d08.tar.bz2
In libobjc/: 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/: 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com> * Object.m ([-forward::]): Removed. * objc/deprecated/Object.h ([-forward::]): Removed. * sendmsg.c (__objc_forward): Updated comments. From-SVN: r174607
Diffstat (limited to 'libobjc/sendmsg.c')
-rw-r--r--libobjc/sendmsg.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/libobjc/sendmsg.c b/libobjc/sendmsg.c
index 137731a..bb525b1 100644
--- a/libobjc/sendmsg.c
+++ b/libobjc/sendmsg.c
@@ -936,9 +936,12 @@ __objc_block_forward (id rcv, SEL op, ...)
}
-/* This function is installed in the dispatch table for all methods
- which are not implemented. Thus, it is called when a selector is
- not recognized. */
+/* This function is called for methods which are not implemented,
+ unless a custom forwarding routine has been installed. Please note
+ that most serious users of libobjc (eg, GNUstep base) do install
+ their own forwarding routines, and hence this is never actually
+ used. But, if no custom forwarding routine is installed, this is
+ called when a selector is not recognized. */
static retval_t
__objc_forward (id object, SEL sel, arglist_t args)
{