mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
* Headers/Foundation/NSMethodSignature.h
* Source/NSMethodSignature.m * Source/GSFFCallInvocation.m * Source/GSFFIInvocation.m: Revert last mframe patch. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19667 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0afa445d12
commit
0fe2082695
5 changed files with 11 additions and 56 deletions
|
@ -774,7 +774,6 @@ GSInvocationCallback (void *callback_data, va_alist args)
|
|||
int i;
|
||||
int num_args;
|
||||
void *retval;
|
||||
const char *selectorName;
|
||||
vacallReturnTypeInfo *typeinfo;
|
||||
NSArgumentInfo *info;
|
||||
GSFFCallInvocation *invocation;
|
||||
|
@ -796,24 +795,6 @@ GSInvocationCallback (void *callback_data, va_alist args)
|
|||
obj = va_arg_ptr(args, id);
|
||||
selector = va_arg_ptr(args, SEL);
|
||||
|
||||
/* Fetch the selector from the runtime
|
||||
to get the portable type information later. */
|
||||
selectorName = sel_get_name(selector);
|
||||
selector = sel_get_uid(selectorName);
|
||||
|
||||
if (!selector)
|
||||
{
|
||||
/* The selector is not registered with the runtime. It seems
|
||||
safe to assume that the receiver does not respond to it which
|
||||
would happen if we created a selector with the 'correct' types
|
||||
and registered it manually. So let us raise the corresponding
|
||||
exception. */
|
||||
[NSException raise: NSGenericException
|
||||
format: @"%s does not recognize %s",
|
||||
GSClassNameFromObject(obj),
|
||||
selectorName ? selectorName : "(null)"];
|
||||
}
|
||||
|
||||
fwdInvMethod = gs_method_for_receiver_and_selector
|
||||
(obj, @selector (forwardInvocation:));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue