make c function in objc-class know about instance?
site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com hi! there must be a simple solution, but i just can't see it... i'm lost. any help would be really cool! max _____________________________________________ m a x i m i l i a n m a r c o l l http://www.maximilianmarcoll.de d i s . p l a y c e http://dis.playce.info _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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/site_archiver%40lists.apple... i'm using some library code which is calling a callback function i declared in my class interface. now my problem is that the callback function, which is a c-function, doesn't even know self. i need to declare the callback as a c function, but i want the callback function to know about the object. (the framework sends strings to my callback function, and i want to send them to a textView object. but i don't have access to the textView object in the callback function.) This email sent to site_archiver@lists.apple.com
participants (1)
-
maximilian marcoll