Commit 2a6f0bed authored by Stefan Behnel's avatar Stefan Behnel

fix PyObject declaration

parent 42dad4f3
# Please see the Python header files (object.h) for docs # Please see the Python header files (object.h) for docs
cdef extern from "Python.h": from python_ref cimport PyObject
ctypedef void PyObject
cdef extern from "Python.h":
ctypedef struct bufferinfo: ctypedef struct bufferinfo:
void *buf void *buf
Py_ssize_t len Py_ssize_t len
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment