• 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: 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.

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

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