Re: NewPtr vs malloc
Re: NewPtr vs malloc
- Subject: Re: NewPtr vs malloc
- From: Eric Schlegel <email@hidden>
- Date: Thu, 6 Dec 2001 15:52:25 -0800
On Thursday, December 6, 2001, at 10:12 AM, Joe Chang (l%l,m8) wrote:
I'm wondering if there are differences between NewPtr and malloc,
DisposePtr and free. Which ones are better? or just same?
There's not much difference. NewPtr simply calls malloc, and DisposePtr
calls free.
-eric