• 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: C on Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C on Xcode


  • Subject: Re: C on Xcode
  • From: Jens Alfke <email@hidden>
  • Date: Sat, 06 Aug 2011 19:34:37 -0700


On Aug 6, 2011, at 5:36 PM, Wade Williams wrote:

Simplest solution:

1)  Create a C interface to your C++ library.  A good C++ library should already have this.


That’s actually a pretty difficult solution, especially if the library has a complex API that uses subclassing, templates, exceptions, etc.

It’s much easier just to rename your Obj-C source files to end with “.mm”. There is no step 2.

—Jens
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >C on Xcode (From: Claudio Ceballos Paz <email@hidden>)
 >Re: C on Xcode (From: Wade Williams <email@hidden>)

  • Prev by Date: Re: deleting old core data models
  • Next by Date: Re: Xcode 4 core data mapping model not creating inherited attributes/relationships
  • Previous by thread: Re: C on Xcode
  • Next by thread: Re: C on Xcode
  • Index(es):
    • Date
    • Thread