[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

     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)],                  \
#define NS_MESSAGE(target, message)                             \
   ([[NSInvocation alloc] initWithTarget:target                \
   selector:@selector(message), nil])

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]