• 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
Mixing CPP and Obj-C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mixing CPP and Obj-C


  • Subject: Mixing CPP and Obj-C
  • From: email@hidden
  • Date: Thu, 26 Aug 2010 10:11:05 -0600

I want to add Obj-C to classes in a CPP static library that is used by Mac and Windows apps. I have set the compile type to cpp.objc so that the file extension can remain .cpp and compile on Windows. I am #ifdef'ing functions that use Cocoa.

My question is memory management. Should functions allocate/release auto release pools?

-koko
_______________________________________________

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


  • Follow-Ups:
    • Re: Mixing CPP and Obj-C
      • From: Shawn Erickson <email@hidden>
    • Re: Mixing CPP and Obj-C
      • From: Dave Carrigan <email@hidden>
  • Prev by Date: Re: sync core-data store between OS X and iOS
  • Next by Date: Re: Mixing CPP and Obj-C
  • Previous by thread: [Moderator] Re: A question
  • Next by thread: Re: Mixing CPP and Obj-C
  • Index(es):
    • Date
    • Thread