Mailing Lists: Apple Mailing Lists

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

Re: [OT] Retain count riddle



On 31. Mrz 2004, at 12:30 Uhr, Stefan Fisk wrote:

why not just: #define SAFE_SET(old,new) [old release]; old = [new retain];
or am i just being stupid?

Suppose old == new. Boom. new is gone and you're out of luck.

Kay
_______________________________________________
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.


References: 
 >[OT] Retain count riddle (From: "Sailesh Agrawal" <email@hidden>)
 >Re: [OT] Retain count riddle (From: Steve Stockman <email@hidden>)
 >Re: [OT] Retain count riddle (From: Stefan Fisk <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.