mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
([MethodInvocation -invokeWithObject:]): Revert last change: call
-invokeWithTarget:, not -subclassResponsibility. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1157 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
83c247f865
commit
d9407d1c3e
1 changed files with 1 additions and 4 deletions
|
@ -314,7 +314,6 @@ my_method_get_next_argument (arglist_t argframe,
|
||||||
retainArgs: (BOOL)f
|
retainArgs: (BOOL)f
|
||||||
{
|
{
|
||||||
int stack_argsize, reg_argsize;
|
int stack_argsize, reg_argsize;
|
||||||
void *datum;
|
|
||||||
|
|
||||||
/* allocate the argframe */
|
/* allocate the argframe */
|
||||||
stack_argsize = types_get_size_of_stack_arguments (type);
|
stack_argsize = types_get_size_of_stack_arguments (type);
|
||||||
|
@ -528,7 +527,6 @@ my_method_get_next_argument (arglist_t argframe,
|
||||||
{
|
{
|
||||||
const char *tmptype;
|
const char *tmptype;
|
||||||
void *datum;
|
void *datum;
|
||||||
void *arg_datum;
|
|
||||||
va_list ap;
|
va_list ap;
|
||||||
|
|
||||||
[self initWithArgframe: NULL selector: s];
|
[self initWithArgframe: NULL selector: s];
|
||||||
|
@ -582,7 +580,6 @@ my_method_get_next_argument (arglist_t argframe,
|
||||||
id target;
|
id target;
|
||||||
id cl;
|
id cl;
|
||||||
SEL sel;
|
SEL sel;
|
||||||
char *tmp_type = return_type;
|
|
||||||
|
|
||||||
/* xxx This could be more efficient by using my_method_get_next_argument
|
/* xxx This could be more efficient by using my_method_get_next_argument
|
||||||
instead of -target and -selector. Or, even better, caching the
|
instead of -target and -selector. Or, even better, caching the
|
||||||
|
@ -634,7 +631,7 @@ my_method_get_next_argument (arglist_t argframe,
|
||||||
|
|
||||||
- (void) invokeWithObject: anObj
|
- (void) invokeWithObject: anObj
|
||||||
{
|
{
|
||||||
[self subclassResponsibility: _cmd];
|
[self invokeWithTarget: anObj];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (SEL) selector
|
- (SEL) selector
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue