Re: NSMakePoint and such - what about memory allocation?
Re: NSMakePoint and such - what about memory allocation?
- Subject: Re: NSMakePoint and such - what about memory allocation?
- From: Shaun Wexler <email@hidden>
- Date: Fri, 21 May 2004 16:22:32 -0700
On May 21, 2004, at 3:15 PM, John Randolph wrote:
>
I'll just mention that besides making points and rects, there all
>
kinds of handy functions and macros defined in the Foundation
>
framework. I can't tell you how often I've seen code that could be
>
far smaller, and more legible if people used functions like NSMidX()
>
or NSInsetRect().
I think the reason I had to switch to typecasting these (which is C99
feature, not C, as pointed out by John Stiles) what that GCC was
choking on them in both Project Builder and Xcode, using -o3.
--
Shaun Wexler
MacFOH
http://www.macfoh.com
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.