Re: Sending message to Objective-C object from C file
Re: Sending message to Objective-C object from C file
- Subject: Re: Sending message to Objective-C object from C file
- From: "Jeff Bland" <email@hidden>
- Date: Sat, 28 Jul 2007 10:35:48 -0600
That or in the objective-c file you make a c function that calls the obj-c
function, then call the c version from your c file,
Also, there may be some way to get the implementation (IMP) function pointer
for the obj-c message you want to send (google for obj-c implementation
pointers if you don't know), then pass it to your c code somehow (ie make it
global) then call it like any other function pointer.
Good luck!
_______________________________________________
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