Re: Obj-c and c++ in same file
Re: Obj-c and c++ in same file
- Subject: Re: Obj-c and c++ in same file
- From: James Dessart <email@hidden>
- Date: Tue, 15 Mar 2005 12:13:21 -0500
On Tue, 15 Mar 2005 17:01:47 +0000, Mark Thomas <email@hidden> wrote:
> Is this possible. I have in the passedd created a straight C glue file,
> where there's C functions which do the C++ work in a separate .cpp file, but
> I wondered if I can have both in a .m file.
It'd be a .mm file, so yes, it is possible. If you want the compiler
to automatically detect that it's Objective-C++, that is. You can also
force the language in XCode, in the target settings.
Hope that helps!
James
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden