Re: Block variable syntax related question
Re: Block variable syntax related question
- Subject: Re: Block variable syntax related question
- From: Chris Hanson <email@hidden>
- Date: Sat, 10 Sep 2011 09:05:40 -0700
On Sep 9, 2011, at 2:47 PM, Jens Alfke <email@hidden> wrote:
> Bit of a tangent, but as C’s had a native ‘bool’ type for a decade+ now, is there some reason Cocoa can’t switch to using it instead of BOOL? Like, make BOOL a typedef for bool? Or would that introduce too many compatibility problems? Or short of that, would there be a problem if an app were to switch to using bool in its own code?
Changing the definition of BOOL would be a binary-compatibility problem because it would @encode differently. That includes in method signatures.
-- Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden