Clarify header

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22637 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2006-03-11 11:35:44 +00:00
parent 638062ccd7
commit 1474635584
2 changed files with 4 additions and 2 deletions

View file

@ -2,6 +2,8 @@
* Headers/Additions/GNUstepBase/GSXML.h: clarify documentation of
xml entity escaping methods.
* Headers/Foundation/NSInvocation.h: don't use 'class' as macro
argument ... should be hermless but is confusing to C++ programmers.
2006-03-10 Richard Frith-Macdonald <rfm@gnu.org>

View file

@ -127,8 +127,8 @@
* call.<br />
* Before using the returned invocation, you need to set its target.
*/
#define NS_INVOCATION(class, message...) ({\
id __proxy = [NSInvocation _newProxyForInvocation: class]; \
#define NS_INVOCATION(aClass, message...) ({\
id __proxy = [NSInvocation _newProxyForInvocation: aClass]; \
[__proxy message]; \
[NSInvocation _returnInvocationAndDestroyProxy: __proxy]; \
})