• 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
Why are BOOL and bool distinct types?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why are BOOL and bool distinct types?


  • Subject: Why are BOOL and bool distinct types?
  • From: Todd Blanchard <email@hidden>
  • Date: Wed, 8 Jun 2005 01:44:41 -0700

Digging around the header of NSMethodInvocation I see a NSObjCBoolType 'B' tag has been added.  Nifty, so why is @encode(BOOL) == c but @encode(bool) == 'B'?

If Apple really wanted to see more apps on the platform - they'd fix this basic Basic BASIC stuff so I could quit spending all my development time working around their bugs and actually get to features for my app.

Filed as Bug ID# 4141976 - but 'cmon man - this is programming 101 here.  

-Todd Blanchard
 _______________________________________________
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

  • Follow-Ups:
    • Re: Why are BOOL and bool distinct types?
      • From: "Sean McBride" <email@hidden>
    • Re: Why are BOOL and bool distinct types?
      • From: Rustam Muginov <email@hidden>
    • Re: Why are BOOL and bool distinct types?
      • From: "M. Uli Kusterer" <email@hidden>
  • Prev by Date: naming variables on the fly
  • Next by Date: Re: Why are BOOL and bool distinct types?
  • Previous by thread: Re: naming variables on the fly
  • Next by thread: Re: Why are BOOL and bool distinct types?
  • Index(es):
    • Date
    • Thread