On 22 Jul 2006 at 12:24, Armin Rigo wrote:

> Hi,
> 
> On Fri, Jul 21, 2006 at 06:24:19PM -0700, Lenard Lindstrom wrote:
> > In ctypes that is easy: use a bound method as the callback. Does that 
> > even work in rctypes?
> 
> I'm afraid not, and it's not obvious how this would be compiled to C
> code, given that there is no kind of closure in ANSI C.
> 
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?

Lenard Lindstrom
<[EMAIL PROTECTED]>


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

Reply via email to