Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Cython / Includes / cpython / longintrepr.pxd
Size: Mime:
# 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":
    # Add explicit cast to avoid compiler warnings
    cdef _PyLong_New "(PyObject*)_PyLong_New"(Py_ssize_t s)

    ctypedef unsigned int digit
    ctypedef int sdigit  # Python >= 2.7 only

    ctypedef struct PyLongObject:
        digit* ob_digit

    cdef long PyLong_SHIFT
    cdef digit PyLong_BASE
    cdef digit PyLong_MASK