Re: One byte bool
Re: One byte bool
- Subject: Re: One byte bool
- From: Scott Fraser <email@hidden>
- Date: Wed, 15 Mar 2006 08:24:33 -0800
My preference is the "Boolean" type from "MacTypes.h", which is more
explicitly a true/false flag than "UInt8", or its siblings.
Yes, a search of the Mac headers does reveal at least one "bool" in a
struct: "CGEventTapInformation". Using a "bool" as a function return
type or a function call parameter type isn't a problem, as all integral
arguments and return values get promoted to 32-bits in both PPC and
Intel calling conventions.
Scott
-----
On Mar 14, 2006, at 08:09 PM, Mark Stultz wrote:
Moving forward, I'm not opposed to using a uint8 instead of a bool.
Would that be
a better option?
_______________________________________________
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