Re: stdint.h, Tiger, etc
Re: stdint.h, Tiger, etc
- Subject: Re: stdint.h, Tiger, etc
- From: "Sean McBride" <email@hidden>
- Date: Wed, 6 Apr 2005 12:59:24 -0400
- Organization: Rogue Research
On 2005-04-06 10:50, Markian Hlynka said:
>Where/how can I get information on things like stdint.h? Does it
>include things like standard 64 bit ints that would be portable into
>Tiger? I'm a little concerned, because occasionally in my code I need
>to use things like exactly a 16 bit or 64 bit int. My solutions have
>been a little haphazard so far...
>
>Can anyone tell me (legally) about how Tiger will react with some of
>these things? ie, I currently do this in my code in a "myutil.h"
>header file:
>typedef long long int int64T;
>I do this to generate a 64-bit int. I use my own type so that I can
>change it if necessary in a single place. (I should have done that with
>16-bit ints too)
>
>So, in Tiger, will long long be 64, or maybe 128? Will the base types
>change size?
The size of the base types is not defined by the C language. C99 has
types like uint64_t which you will see in stdint.h, they are quite useful.
See also:
<http://developer.apple.com/macosx/tiger/64bit.html>
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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