On 23 Jul 2006 at 19:58, Lawrence Oluyede wrote:

> > I just brought it up as it is one more thing to consider when
> > converting a ctypes Python module to rctypes. But could rctypes use
> > ffi when the callback is a bound method?
> 
> AFAIK one of the reasons of the existence of rctypes and the ext.
> compiler is not to use the ffi library...
> 
Then perhaps the ext. compiler can achieve the same effect as an ffi 
C closure by creating a stub function to call the bound method, which 
is stored in a thread-local variable.

Lenard Lindstrom
<[EMAIL PROTECTED]>


_______________________________________________
[email protected]
http://codespeak.net/mailman/listinfo/pypy-dev

Reply via email to