Lisandro Dalcin wrote:
> Is there a way to handle a call to this guy, regarding current Cython
> limitations about const?
>
> int PyObject_AsReadBuffer (PyObject*, const void**, Py_ssize_t*)
You want to call that function? Then declare it
cdef extern from "Python.h":
cdef int PyObject_AsReadBuffer (PyObject* a, void** b, Py_ssize_t* c)
Doesn't that work?
Stefan
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev