• 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: error when calling function in another C file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error when calling function in another C file


  • Subject: Re: error when calling function in another C file
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Wed, 2 Jan 2008 11:27:45 +0100



Build succeeds without any warning or error.

Documents say that NSMutableArray * and CFArrayRef are toll-free bridged.
And can be supplied as arguments to function interchangeably.

'response' is not initialized (and so is nil). CF functions crash if you call them with NULL as first argument. Unlike with obj-c you have to check for nullity before calling Core Foundation function.




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >error when calling function in another C file (From: "Navneet Kumar" <email@hidden>)

  • Prev by Date: Re: How to disallow user from selecting locked folders
  • Next by Date: Re: error when calling function in another C file
  • Previous by thread: error when calling function in another C file
  • Next by thread: RE: error when calling function in another C file
  • Index(es):
    • Date
    • Thread