mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
Fix for libffi based distributed objects (tested on macos-x)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18433 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
107b64be5e
commit
b410ed6e5d
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-01-18 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Source/NSDistantObject.m: All code conditional on USE_FFCALL should
|
||||||
|
also be conditional on USE_LIBFFI so it works for both mechanisms.
|
||||||
|
|
||||||
2004-01-14 Adam Fedor <fedor@gnu.org>
|
2004-01-14 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
* Source/Additions/GSObjCRuntime.m: Fix previous method def.
|
* Source/Additions/GSObjCRuntime.m: Fix previous method def.
|
||||||
|
|
|
@ -700,7 +700,7 @@ enum
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
id m = nil;
|
id m = nil;
|
||||||
#ifdef USE_FFCALL
|
#if defined(USE_FFCALL) || defined(USE_LIBFFI)
|
||||||
id inv;
|
id inv;
|
||||||
id sig;
|
id sig;
|
||||||
|
|
||||||
|
@ -876,7 +876,7 @@ static inline BOOL class_is_kind_of (Class self, Class aClassObject)
|
||||||
|
|
||||||
- (BOOL) conformsToProtocol: (Protocol*)aProtocol
|
- (BOOL) conformsToProtocol: (Protocol*)aProtocol
|
||||||
{
|
{
|
||||||
#ifdef USE_FFCALL
|
#if defined(USE_FFCALL) || defined(USE_LIBFFI)
|
||||||
BOOL m = NO;
|
BOOL m = NO;
|
||||||
id inv, sig;
|
id inv, sig;
|
||||||
DO_FORWARD_INVOCATION(conformsToProtocol:, aProtocol);
|
DO_FORWARD_INVOCATION(conformsToProtocol:, aProtocol);
|
||||||
|
@ -901,7 +901,7 @@ static inline BOOL class_is_kind_of (Class self, Class aClassObject)
|
||||||
|
|
||||||
- (BOOL) respondsToSelector: (SEL)aSelector
|
- (BOOL) respondsToSelector: (SEL)aSelector
|
||||||
{
|
{
|
||||||
#ifdef USE_FFCALL
|
#if defined(USE_FFCALL) || defined(USE_LIBFFI)
|
||||||
BOOL m = NO;
|
BOOL m = NO;
|
||||||
id inv, sig;
|
id inv, sig;
|
||||||
DO_FORWARD_INVOCATION(respondsToSelector:, aSelector);
|
DO_FORWARD_INVOCATION(respondsToSelector:, aSelector);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue