On Wed, 23 Feb 2011 11:47:23 -0700, James Bucanek said: >I have a couple of large Cocoa projects that suddenly need to >use some C++ libraries (3D graphics stuff).
Two useful thoughts: 1) You can use 'id' in your C++ by including the pure C header <objc/objc.h>. 2) You can keep C++ out of your Obj-C .h files like so: #ifdef __cplusplus typedef SomeCPPClassPtr SomeCPPClassRef; #else typedef void* SomeCPPClassRef; #endif hth, -- ____________________________________________________________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com