Pracownia_programowania/venv/Lib/site-packages/Cython/Includes/cpython/longintrepr.pxd

16 lines
445 B
Cython
Raw Permalink Normal View History

2020-02-01 19:54:00 +01:00
# Internals of the "long" type (Python 2) or "int" type (Python 3).
# This is not part of Python's published API.
cdef extern from "longintrepr.h":
ctypedef unsigned int digit
ctypedef int sdigit # Python >= 2.7 only
ctypedef class __builtin__.py_long [object PyLongObject]:
cdef digit* ob_digit
cdef py_long _PyLong_New(Py_ssize_t s)
cdef long PyLong_SHIFT
cdef digit PyLong_BASE
cdef digit PyLong_MASK