[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNUstep Base OpenStep Compliance
From: |
Benhur Stein |
Subject: |
Re: GNUstep Base OpenStep Compliance |
Date: |
Fri, 04 Apr 2003 11:36:50 -0300 |
NSInvocation
NS_MESSAGE and NS_INVOCATION not defined
Hmm ... anyone got a fix for those?
I use this:
#ifndef xxGNUSTEP
#define NS_MESSAGE(obj, meth) \
((invocation = [NSInvocation invocationWithMethodSignature: \
[obj methodSignatureForSelector: @selector(meth)]]), \
[invocation setTarget: obj], \
[invocation setSelector: @selector(meth)], \
invocation)
#else
#define NS_MESSAGE(target, message) \
([[NSInvocation alloc] initWithTarget:target \
selector:@selector(message), nil])
#endif
From the documentation, it has never been clear to me what the arguments of this
macro should be, and it is not implemented in OS4.2. The ifndef at the
beggining was
for a different implementation on OS42/MacOSX vs GNUSTEP, but the GNUSTEP
implementation stopped working, that's why the 'xx'.
Benhur
- Re: GNUstep Base OpenStep Compliance, (continued)
- Re: GNUstep Base OpenStep Compliance, Richard Frith-Macdonald, 2003/04/05
- Re: GNUstep Base OpenStep Compliance, Helge Hess, 2003/04/05
- Re: GNUstep Base OpenStep Compliance, Jeff Teunissen, 2003/04/06
- Re: GNUstep Base OpenStep Compliance, Helge Hess, 2003/04/08
- Re: GNUstep Base OpenStep Compliance, Markus Hitter, 2003/04/08
- Re: GNUstep Base OpenStep Compliance, Helge Hess, 2003/04/08
- Re: GNUstep Base OpenStep Compliance, Markus Hitter, 2003/04/08
- Re: GNUstep Base OpenStep Compliance, Helge Hess, 2003/04/05
- Re: GNUstep Base OpenStep Compliance, David Ayers, 2003/04/05
- Re: GNUstep Base OpenStep Compliance, Markus Hitter, 2003/04/05
Re: GNUstep Base OpenStep Compliance,
Benhur Stein <=