mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-11 20:41:01 +08:00
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
This commit is contained in:
parent
c192cee683
commit
4236b2e5c2
@ -1,3 +1,9 @@
|
||||
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.
|
||||
|
||||
2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||
|
||||
* Makefile.in (OBJC_H): Removed objc-list.h.
|
||||
|
@ -248,12 +248,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
||||
:class_get_class_method(self->isa, aSel)));
|
||||
}
|
||||
|
||||
- (retval_t)forward:(SEL)aSel :(arglist_t)argFrame
|
||||
{
|
||||
(void) argFrame; /* UNUSED */
|
||||
return (retval_t)[self doesNotRecognize: aSel];
|
||||
}
|
||||
|
||||
- (retval_t)performv:(SEL)aSel :(arglist_t)argFrame
|
||||
{
|
||||
return objc_msg_sendv(self, aSel, argFrame);
|
||||
|
@ -49,7 +49,6 @@
|
||||
- (struct objc_method_description *)descriptionForMethod:(SEL)aSel;
|
||||
|
||||
/* Forwarding */
|
||||
- (retval_t)forward:(SEL)aSel :(arglist_t)argFrame;
|
||||
- (retval_t)performv:(SEL)aSel :(arglist_t)argFrame;
|
||||
|
||||
/* Posing */
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user