How do I get NSRect to be the same as CGRect?
How do I get NSRect to be the same as CGRect?
- Subject: How do I get NSRect to be the same as CGRect?
- From: Rick Mann <email@hidden>
- Date: Sun, 16 Dec 2007 15:46:18 -0800
In NSGeometry.h, there is some code that switches based on (__LP64__
|| NS_BUILD_32_LIKE_64), and if that's true, does:
typedef CGRect NSRect;
Otherwise, it defines NSRect explicitly. I don't understand why it
does this, and it would make it easier if it just used the typedef.
What do those flags mean, and is there a way for my code to get the
typedef version?
TIA,
Rick
_______________________________________________
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