Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

memory allocation in DSS v3



Hi,
  In looking at the DSS v3 code, I've noticed that it sometimes make use of
the "NEW" macro when performing memory allocation and then sometimes just
uses the "new".  Based on my understanding of the code, the upper case macro
calls the functions in the OSMemory object and lowercase version does not.
Is there any reason why all calls for memory allocation should not be using
the uppercase "NEW" macro?  

Any clarification would be appreciated.

Thanks,
Larry Deaton
email@hidden




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.