mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 12:16:40 +00:00
add some diagnostics
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27107 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9abe5c934c
commit
cdbf2720e4
4 changed files with 21 additions and 8 deletions
|
@ -782,7 +782,12 @@ cifframe_do_call (DOContext *ctxt,
|
|||
/* Make sure we successfully got the method type, and that its
|
||||
types match the ENCODED_TYPES. */
|
||||
NSCParameterAssert (type);
|
||||
NSCParameterAssert (GSSelectorTypesMatch(encoded_types, type));
|
||||
if (GSSelectorTypesMatch(encoded_types, type) == NO)
|
||||
{
|
||||
[NSException raise: NSInvalidArgumentException
|
||||
format: @"cifframe_do_call types (%s / %s) missmatch for %s",
|
||||
encoded_types, type, GSNameFromSelector(selector)];
|
||||
}
|
||||
|
||||
/* Build the cif frame */
|
||||
sig = [NSMethodSignature signatureWithObjCTypes: type];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue