mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
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:
parent
be9d4f89fe
commit
1c8f36b122
7 changed files with 47 additions and 17 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue