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: Andreas Mayer <email@hidden>
- Date: Sun, 8 Sep 2002 02:11:26 +0200
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.