Re: How to call functions of a C dylib on a C++ dylib
Re: How to call functions of a C dylib on a C++ dylib
- Subject: Re: How to call functions of a C dylib on a C++ dylib
- From: "Kiel Gillard" <email@hidden>
- Date: Fri, 19 Sep 2008 00:53:25 +1000
Howdy,
I think the following syntax is the right idea:
extern "C" { extern void MyFunction(void *args);
}
However, because it is insanely late, I may be wrong. If you have a look at
the headers for Apple's frameworks (eg: one of the Core Foundation headers)
you'll see how you should do it.
Hope this helps,
Kiel
_______________________________________________
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