Re: Sending function pointers to XS

2009-11-11 Thread Blabos de Blebe
Hi, Unfortunately I cannot give you a full answer now (time constraints...), but into the book below on page 202, section 6.7, there is an brief introduction of how manage callbacks. There are also some pitfalls. Good luck! Later I will try to build a better answer. http://www.manning.com/jennes

Re: Sending function pointers to XS

2009-11-11 Thread Kartik Thakore
HI Blabos Ok! I tried this here. But I need some review on the code. I don't think I am doing the SDL_Event argument in properly. http://github.com/kthakore/SDL_perl/commit/633f388bbc161bfc5177fb49e482c8cfb27b60aa Regards Kartik Thakore On Wed, Nov 11, 2009 at 8:32 AM, Blabos de Blebe wrote: