mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
fix for incorrect types comparison
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34591 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3ce8576080
commit
4d0364836b
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-01-10 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/GSFFIInvocation.m: Fix selector types comparison to use the
|
||||
correct function for checking equivalent types.
|
||||
|
||||
2012-01-10 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* config/pathtls.m4:
|
||||
|
|
|
@ -584,7 +584,7 @@ GSFFIInvocationCallback(ffi_cif *cif, void *retp, void **args, void *user)
|
|||
const char *receiverTypes = [sig methodType];
|
||||
const char *runtimeTypes = GSTypesFromSelector(selector);
|
||||
|
||||
if (runtimeTypes == 0 || strcmp(receiverTypes, runtimeTypes) != 0)
|
||||
if (NO == GSSelectorTypesMatch(receiverTypes, runtimeTypes))
|
||||
{
|
||||
const char *runtimeName = sel_getName(selector);
|
||||
|
||||
|
|
Loading…
Reference in a new issue