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: Sat, 7 Sep 2002 20:25:32 -0400
Thanks Andreas,
I'm assuming at this point even if things are 'toll-free-bridged' one
can expect
the compiler to still complain.
brian
On Saturday, September 7, 2002, at 08:11 PM, Andreas Mayer wrote:
Am Sonntag, 08.09.02 um 01:20 Uhr schrieb ber:
OSStatus ret;
CFArrayRef searchList;
NSArray *anotherSearchList;
ret = SecKeychainCopySearchList(&searchList);
ret = SecKeychainCopySearchList(anotherSearchList);
The declaration for SecKeychainCopySearchList is:
OSStatus SecKeychainCopySearchList(
CFArrayRef *searchList);
I apparently don't know what an "NSArray instance" is. What am I
doing
wrong that generates the warning?
I take it CFArrayRef is the same as NSArray*.
So if an CFArrayRef* is required, that would be the same as NSArray**,
no?
Did you try:
ret = SecKeychainCopySearchList(&anotherSearchList);
But I'm, by all means, not a C expert and therefore have problems with
the C pointer syntax all the time ... :)
bye. Andreas.
_______________________________________________
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.
_______________________________________________
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.