Re: deprecated FOUR_CHAR_CODE and macintel
Re: deprecated FOUR_CHAR_CODE and macintel
- Subject: Re: deprecated FOUR_CHAR_CODE and macintel
- From: Olivier Tristan <email@hidden>
- Date: Thu, 12 Jan 2006 20:55:05 +0100
On 1/12/06, Eric Albert <email@hidden> wrote:
> In other words, everything that you write as FOUR_CHAR_CODE('ABCD') is
> exactly equivalent to 'ABCD', and has always been that way. And that's
> just a 32-bit integer. We've worked hard to make nearly all APIs in
> the system take native-endian arguments, so in just about every case
> you don't need to byte-swap four-char codes. The exceptions to this
> are documented in the Universal Binary Programming Guidelines, as are
> the APIs you can use to byte-swap 32-bit integers.
>
I've ended to write my own inline function which handles endianess.
Thanks for the feedback.
Regards,
--
Olivier Tristan
_______________________________________________
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