On Fri, May 9, 2008 at 7:41 PM, Chris Hanson <[EMAIL PROTECTED]> wrote:
> On May 9, 2008, at 11:10 AM, Western Botanicals wrote:
>
>
> (5) The Objective-C type is BOOL, not bool.  The latter is a C++ type.

A minor nit to pick: bool (aka _Bool) is not exclusive to C++(as of
C99 it's a C type as well), and has some useful properties, especially
when assigning to/from other integer types.

> It
> will be unfamiliar to Objective-C developers and what's vastly more
> important, it may @encode differently than the Objective-C type does.

Not only may it @encode differently, it *will* do so. _Bool/bool is
guaranteed to be a different type than BOOL (which is typedef'd to
char).

-- 
Clark S. Cox III
[EMAIL PROTECTED]
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to