From: Stefan Behnel Date: Thu, 15 Oct 2009 14:24:09 +0000 (+0200) Subject: fix PyObject declaration X-Git-Tag: 0.13.beta0~2^2~121^2~45 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2a6f0bed199c9767c6bde661a71e4380ef422c99;p=cython.git fix PyObject declaration --- diff --git a/Cython/Includes/python_buffer.pxd b/Cython/Includes/python_buffer.pxd index 5b55c9e6..2cea2a6c 100644 --- a/Cython/Includes/python_buffer.pxd +++ b/Cython/Includes/python_buffer.pxd @@ -1,8 +1,8 @@ # Please see the Python header files (object.h) for docs +from python_ref cimport PyObject + cdef extern from "Python.h": - ctypedef void PyObject - ctypedef struct bufferinfo: void *buf Py_ssize_t len