Fwd: How do I get NSRect to be the same as CGRect?
Fwd: How do I get NSRect to be the same as CGRect?
- Subject: Fwd: How do I get NSRect to be the same as CGRect?
- From: "Clark Cox" <email@hidden>
- Date: Mon, 17 Dec 2007 06:36:51 -0800
curse google's mobile gmail for not having a "reply to all" button.
:)
---------- Forwarded message ----------
From: Clark Cox <email@hidden>
Date: Mon, 17 Dec 2007 06:34:34 -0800
Subject: Re: How do I get NSRect to be the same as CGRect?
To: Gregory Weston <email@hidden>
indeed, but 'int' just means at least 16-bit and no smaller than a
short. Six of one, half dozen of another. If binary compatibility
weren't an issue, we could define it as long on all of our platforms
and be done with it.
On 12/17/07, Gregory Weston <email@hidden> wrote:
> Lachlan O'Dea wrote:
>
> > Is this the same reason for NSInteger being typedefed int under 32
> > bit, and
> > typedefed long under 64 bit? I didn't see why we couldn't just use
> > long
> > everywhere and be done with it.
>
> Because we wouldn't necessarily be done with it. The word 'long'
> means "at least 32 bits and not smaller than 'int'." Anything more
> specific than that is up to the implementation.
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
--
Clark S. Cox III
email@hidden
--
Clark S. Cox III
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden