FROM : Scott Ribe
DATE : Sun Nov 25 17:35:03 2007
Your callback function _ought_ to take a void* parameter, which you are able
to pass in when you set up the callback, so that you can use it to pass
through whatever data you want, such as the pointer to the Obj-C instance,
and cast it back to the proper value when you get it. If the library does
not do that, then it's a broken design.
--
Scott Ribe
<email_removed>
http://www.killerbytes.com/
(303) 722-0567 voice
DATE : Sun Nov 25 17:35:03 2007
Your callback function _ought_ to take a void* parameter, which you are able
to pass in when you set up the callback, so that you can use it to pass
through whatever data you want, such as the pointer to the Obj-C instance,
and cast it back to the proper value when you get it. If the library does
not do that, then it's a broken design.
--
Scott Ribe
<email_removed>
http://www.killerbytes.com/
(303) 722-0567 voice
| Related mails | Author | Date |
|---|---|---|
| maximilian marcoll | Dec 30, 13:28 | |
| Gurmit Teotia | Dec 30, 13:55 | |
| Philip Q | Dec 30, 14:15 | |
| Shawn Erickson | Dec 30, 17:17 | |
| maximilian marcoll | Dec 30, 18:40 | |
| Scott Ribe | Nov 25, 17:35 |






Cocoa mail archive

