• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NewPtr vs malloc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NewPtr vs malloc (From: Joe Chang (ììí) <email@hidden>)

  • Prev by Date: Re: talking to shell from cocoa/obj-c
  • Next by Date: Re: The sick power!
  • Previous by thread: NewPtr vs malloc
  • Next by thread: Re: NewPtr vs malloc
  • Index(es):
    • Date
    • Thread