fix PyObject declaration
authorStefan Behnel <scoder@users.berlios.de>
Thu, 15 Oct 2009 14:24:09 +0000 (16:24 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Thu, 15 Oct 2009 14:24:09 +0000 (16:24 +0200)
Cython/Includes/python_buffer.pxd

index 5b55c9e62bd461c8222ca0da0d561a7fa5f440f9..2cea2a6cc9bcee443ee32a119dee658d3beb4d03 100644 (file)
@@ -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