• 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: One byte bool
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: One byte bool


  • Subject: Re: One byte bool
  • From: Thomas Engelmeier <email@hidden>
  • Date: Thu, 16 Mar 2006 16:52:30 +0100

Am 15.03.2006 um 13:16 schrieb Clark Cox:

On 3/15/06, Jerry <email@hidden> wrote:

On 14 Mar 2006, at 22:35, Ben wrote:

I've never understood why people prefer things like bool, int, or
long to the much safer types of unit8, int32, int64, and the like.

The problem I always find is that you have a fantastic choice between uint8, uint8_t, UINT8, u_int8, UInt8, U8, guint8, jsuint8 or whatever name the writers of the libraries

Well, my vote goes to uint8_t and friends, as those are part of the C standard.

Those are part of the CURRENT C99 / C++1998 standards.
Most of the 3rd party code I see is not even compliant to these 7 year old standards.


BTW; I would go for the uint_leastXX_t for most variables where speed and not an exact size is required...

Regards,
	Tom_E
_______________________________________________
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


  • Follow-Ups:
    • Re: One byte bool
      • From: "Clark Cox" <email@hidden>
References: 
 >One byte bool (From: Mark Stultz <email@hidden>)
 >Re: One byte bool (From: Ben <email@hidden>)
 >Re: One byte bool (From: Jerry <email@hidden>)
 >Re: One byte bool (From: "Clark Cox" <email@hidden>)

  • Prev by Date: Re: dlopen and RTLD_LOCAL
  • Next by Date: Re: dlopen and RTLD_LOCAL
  • Previous by thread: Re: One byte bool
  • Next by thread: Re: One byte bool
  • Index(es):
    • Date
    • Thread