Re: Mixing Objective-C and C++ classes; How?
Re: Mixing Objective-C and C++ classes; How?
- Subject: Re: Mixing Objective-C and C++ classes; How?
- From: "Michael A. Crawford" <email@hidden>
- Date: Thu, 06 Aug 2009 18:58:50 -0400
Problem solved. As it turns out the problem was that the class is
declared in a C++ namespace. I did not properly scope the class nor
was I using a 'using namespace' statement.
-Michael
----------------------
The united stand. The divided get played.
-- Bernie MAC
On Aug 6, 2009, at 4:59 PM, Shawn Erickson wrote:
On Thu, Aug 6, 2009 at 1:51 PM, Michael A.
Crawford<email@hidden> wrote:
Should the following work (assuming it is included in an Objective-
C file
with a .mm extension)?
@interface CDBPMDetectOperation : NSOperation <CDAudioTrackDelegate>
{
class BPMDetect* bpmDetector; // C++ class as an objective-c
class member
}
/me points at...
<http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/ocCPlusPlus.html
>
-Shawn
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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