Martin Gysel wrote:

> cdef class Cobj:
>     cdef a_c_struct_t *loop
> 
>     def __init__(self):
>         self.loop = c_lib_call()
>         c_lib_call_reg_callback(<c_cb_t>self.callback, NULL)
                                           ^^^^^^^^^^^^^

I don't know what Cython does with this, but it's
an error in Pyrex -- you can't obtain a bound C
method, you can only call it.

-- 
Greg
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to