Use GSSelectorTypesMatch() for types comparison where we are interested in types

but not qualifiers and stack layout information.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35304 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2012-07-20 04:43:58 +00:00
parent 469b95d0e3
commit 91aea36304
7 changed files with 47 additions and 17 deletions

View file

@ -918,7 +918,8 @@ GSInvocationCallback (void *callback_data, va_alist args)
const char *receiverTypes = [sig methodType];
const char *runtimeTypes = sel_get_type (selector);
if (runtimeTypes == 0 || strcmp(receiverTypes, runtimeTypes) != 0)
if (runtimeTypes == 0
|| NO == GSSelectorTypesMatch(receiverTypes, runtimeTypes))
{
const char *runtimeName = sel_getName(selector);