• 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: sizeof short int
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sizeof short int


  • Subject: Re: sizeof short int
  • From: email@hidden
  • Date: Sun, 17 Sep 2006 13:22:48 EDT

> Huibert Aalbers wrote:
>
> > just a quick simple question. Is short int guaranteed to be 2 bytes
> > long on Mac OS X? Will that change with leopard (64 bits)?
>
> If you need a guaranteed 16 bit number, specify a 16 bit number.
>
> int16_t, and uint16_t if you need unsigned, are your friends.
>
> Greg
>
Doesn't hurt to use the sizeof operator either.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Newbie: Problem with second nib.
  • Next by Date: Adobe apps crash after -[NSWorkspace launchApplication:]
  • Previous by thread: Re: sizeof short int
  • Next by thread: PathContainsPoint functionality incomplete
  • Index(es):
    • Date
    • Thread