• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NEWBIE: NSArray toll-free-bridged with CFArray?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: NEWBIE: NSArray toll-free-bridged with CFArray?
      • From: ber <email@hidden>
References: 
 >NEWBIE: NSArray toll-free-bridged with CFArray? (From: ber <email@hidden>)

  • Prev by Date: Re: NEWBIE: NSArray toll-free-bridged with CFArray?
  • Next by Date: Re: NEWBIE: NSArray toll-free-bridged with CFArray?
  • Previous by thread: NEWBIE: NSArray toll-free-bridged with CFArray?
  • Next by thread: Re: NEWBIE: NSArray toll-free-bridged with CFArray?
  • Index(es):
    • Date
    • Thread