From 2a6f0bed199c9767c6bde661a71e4380ef422c99 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Thu, 15 Oct 2009 16:24:09 +0200 Subject: [PATCH] fix PyObject declaration --- Cython/Includes/python_buffer.pxd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.26.2