Re: NEWBIE: NSArray toll-free-bridged with CFArray?
Re: NEWBIE: NSArray toll-free-bridged with CFArray?
- Subject: Re: NEWBIE: NSArray toll-free-bridged with CFArray?
- From: ber <email@hidden>
- Date: Sun, 8 Sep 2002 00:45:59 -0400
Thanks Andrew. Yes, casts are to be avoided. I noticed the Keychain
Access app uses NSKeychain objects. Hopefully
those will be available soon and I can stay off the bridge, toll-free
or otherwise.
brian
On Sunday, September 8, 2002, at 12:24 AM, Andrew Pinski wrote:
The reason the compiler will complain is because the two structs are
in two different aliasing sets (aka they cannot have the same address,
so the compile can optimize away some of the instructions if it wants
to).
Hope this clears up some of the problems that might end up being
caused with casts period (casts are bad, try using unions instead).
Thanks,
Andrew Pinski
_______________________________________________
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.