mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +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
469b95d0e3
commit
91aea36304
7 changed files with 47 additions and 17 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue