• 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: deprecated FOUR_CHAR_CODE and macintel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >deprecated FOUR_CHAR_CODE and macintel (From: Olivier Tristan <email@hidden>)
 >Re: deprecated FOUR_CHAR_CODE and macintel (From: Eric Albert <email@hidden>)

  • Prev by Date: Re: MacBook Pro
  • Next by Date: Re: Project design question
  • Previous by thread: Re: deprecated FOUR_CHAR_CODE and macintel
  • Next by thread: Re: deprecated FOUR_CHAR_CODE and macintel
  • Index(es):
    • Date
    • Thread