[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Properly binding C libraries using callbacks
- From: Ignacio Burgueño <ignaciob@...>
- Date: Thu, 20 Oct 2011 20:01:39 -0200
On Thu, Oct 20, 2011 at 7:07 PM, Rob Hoelz <email@example.com>
Can someone give me some pointers on the proper way to bind a library that uses callbacks, especially one that doesn't
allow you to thread your own userdata through the callbacks? Coroutines make it tricky, and my understanding is that
storing things in global variables in the binding are a faux pas.
Maybe the code here can shed some light?