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:
rfm 2012-07-20 04:43:58 +00:00
parent be9d4f89fe
commit 1c8f36b122
7 changed files with 47 additions and 17 deletions

View file

@ -159,7 +159,7 @@ typeSize(const char* type)
return NO;
if (object_getClass(aValue) != object_getClass(self))
return NO;
if (strcmp(objctype, ((GSValue*)aValue)->objctype) != 0)
if (GSSelectorTypesMatch(objctype, ((GSValue*)aValue)->objctype))
return NO;
else
{