Re: How do I get NSRect to be the same as CGRect?
Re: How do I get NSRect to be the same as CGRect?
- Subject: Re: How do I get NSRect to be the same as CGRect?
- From: odela01 <lachlan.o'email@hidden>
- Date: Mon, 17 Dec 2007 14:41:02 +1100
- Thread-topic: How do I get NSRect to be the same as CGRect?
Clark Cox wrote:
> You're forgetting C++ name mangling. To a C++ compiler, the difference
> is quite significant:
>
> void Foo(NSRect r);
>
> This function will have different names depending on whether or not
> NSRect is its own type or if it's just a typedef of CGRect.
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.
Lachlan.
_______________________________________________
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