discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNUstep.h (was: Re: Setter Gettor method style)


From: Sir Raorn
Subject: Re: GNUstep.h (was: Re: Setter Gettor method style)
Date: Wed, 7 Aug 2002 10:33:54 +0400
User-agent: Mutt/1.4i

On Tue, Aug 06, 2002 at 10:20:49PM +0200, Lars Sonchocky-Helldorf wrote:
> #define TEST_AUTORELEASE(object) ({ if (object) [object autorelease]; })
I'd suggest this variant:

#define TEST_AUTORELEASE(object) do{ if (object) [object autorelease]; }while(0)

And the same for other multioperator defines...

-- 
Regards, Sir Raorn.
AIF5-RIPN, AIF5-RIPE, Binec System Administrator.

Attachment: pgpn4e8cVP1b2.pgp
Description: PGP signature


reply via email to

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