Re: Calling an object from a C function
Re: Calling an object from a C function
- Subject: Re: Calling an object from a C function
- From: David Duncan <email@hidden>
- Date: Tue, 19 Aug 2008 15:52:14 -0700
On Aug 19, 2008, at 2:53 PM, Gilbert Mackall wrote:
I have a C function from which I would like to call a method. I
can't find any documents the cover how to do this.
You call it just like you call any other method. Your C function will
need to be compiled with the Obj-C compiler however. Easiest way to do
this is to name the source file with a .m extension.
--
David Duncan
Apple DTS Animation and Printing
_______________________________________________
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