mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Tidyups etc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17380 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4a92c831b2
commit
02aace51b0
8 changed files with 79 additions and 5 deletions
|
@ -860,8 +860,14 @@ GSInvocationCallback (void *callback_data, va_alist args)
|
|||
sig = [NSMethodSignature signatureWithObjCTypes: sel_get_type(selector)];
|
||||
}
|
||||
|
||||
NSCAssert1(sig, @"No signature for selector %@",
|
||||
NSStringFromSelector(selector));
|
||||
if (sig == nil)
|
||||
{
|
||||
[NSException raise: NSInvalidArgumentException
|
||||
format: @"%s(%s) does not recognize %s",
|
||||
object_get_class_name(obj),
|
||||
GSObjCIsInstance(obj) ? "instance" : "class",
|
||||
selector ? sel_get_name(selector) : "(null)"];
|
||||
}
|
||||
|
||||
invocation = [[GSFFCallInvocation alloc] initWithMethodSignature: sig];
|
||||
AUTORELEASE(invocation);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue