Re: storing pointers in a dictionary
Re: storing pointers in a dictionary
- Subject: Re: storing pointers in a dictionary
- From: Shantonu Sen <email@hidden>
- Date: Fri, 12 Mar 2010 12:16:38 -0800
Make sure your dictionary is created with value callbacks that don't retain/release their argument
If you don't need to do anything with the pointer, why are you storing it?
Shantonu
Sent from my MacBook
On Mar 12, 2010, at 12:00 PM, Joel Reymont wrote:
> What is the easiest way to store a pointer in CFMutableDictionary, assuming CFNumber was used as a key?
>
> I don't need to retain or release this pointer, look it up, insert, delete, etc.
>
> Thanks, Joel
>
> ---
> http://es.linkedin.com/in/joelreymont
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Darwin-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden