Re: #define issues
Re: #define issues
- Subject: Re: #define issues
- From: Steve Checkoway <email@hidden>
- Date: Mon, 25 Apr 2005 22:04:04 -0700
On Apr 21, 2005, at 7:37 PM, Michael Rothwell wrote:
More parentheses!
#define SET_ENTRY( (m),(r),(c),(e)) (m[(r)*4+(c)] = (e))
Too many parentheses.
#define SET_ENTRY(m,r,c,e) ((m)[(r)*4+(c)]=(e))
- Steve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden