On Mon, Jan 24, 2011 at 10:38 AM, Arnd Rechenburg <[email protected]> wrote: > Hi, > > > > When I try to use the function PyObject_AsCharBuffer I get the following > compiler warning: > > warning: passing argument 2 of 'PyObject_AsCharBuffer' from incompatible > pointer type > > > > By using Python it works without problems. > > In Python: > > int PyObject_AsCharBuffer(PyObject *obj, const char **buffer, Py_ssize_t > *buffer_len) > > > > Is there something different in pypy? > >
We don't have const char**, we use char** instead. It's a small deficiency of how we do stuff now, probably fixable in the future, but don't worry too much, it works the same way. Cheers, fijal _______________________________________________ [email protected] http://codespeak.net/mailman/listinfo/pypy-dev
