diff options
Diffstat (limited to 'Cython/Includes/cpython/pyport.pxd')
-rw-r--r-- | Cython/Includes/cpython/pyport.pxd | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Cython/Includes/cpython/pyport.pxd b/Cython/Includes/cpython/pyport.pxd new file mode 100644 index 000000000..fec59c9c8 --- /dev/null +++ b/Cython/Includes/cpython/pyport.pxd @@ -0,0 +1,8 @@ +cdef extern from "Python.h": + ctypedef int int32_t + ctypedef int int64_t + ctypedef unsigned int uint32_t + ctypedef unsigned int uint64_t + + const Py_ssize_t PY_SSIZE_T_MIN + const Py_ssize_t PY_SSIZE_T_MAX |