• 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: [OT] Retain count riddle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: [OT] Retain count riddle
      • From: Stéphane Sudre <email@hidden>
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>)

  • Prev by Date: Re: [OT] Retain count riddle
  • Next by Date: keyDown: missing events
  • Previous by thread: Re: [OT] Retain count riddle
  • Next by thread: Re: [OT] Retain count riddle
  • Index(es):
    • Date
    • Thread