Re: [OT] Retain count riddle
Re: [OT] Retain count riddle
- Subject: Re: [OT] Retain count riddle
- From: Kay Roepke <email@hidden>
- Date: Wed, 31 Mar 2004 13:09:11 +0200
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.