Re: Using CFMutableDictionaryRef (Resolved)
Re: Using CFMutableDictionaryRef (Resolved)
- Subject: Re: Using CFMutableDictionaryRef (Resolved)
- From: Greg Guerin <email@hidden>
- Date: Sun, 28 Feb 2010 19:00:46 -0700
Alexander Hartner wrote:
I am still a little confused why the pointer addresses are
different when storing and accessing the objects from the
dictionary though.
Because you're passing the address *of* the local variable, not the
address *in* the local variable. Remove the leading &'s.
-- GG
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden