• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: #define issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: #define issues (From: Cameron Hayne <email@hidden>)
 >Re: #define issues (From: Michael Rothwell <email@hidden>)

  • Prev by Date: Re: iTunes Radio Tuner
  • Next by Date: Binding button.enabled to "NSTextField is not empty"
  • Previous by thread: Re: #define issues
  • Next by thread: Re: #define issues
  • Index(es):
    • Date
    • Thread