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:
CaS 2004-01-18 12:19:43 +00:00
parent 107b64be5e
commit b410ed6e5d
2 changed files with 8 additions and 3 deletions

View file

@ -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.

View file

@ -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);