mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Issue #4258: Use 30-bit digits for Python longs, on 64-bit platforms.
Backport of r70459.
This commit is contained in:
parent
c8e81ef508
commit
efc82f7e8e
17 changed files with 859 additions and 64 deletions
|
@ -24,6 +24,7 @@ PyAPI_FUNC(long) PyLong_AsLong(PyObject *);
|
|||
PyAPI_FUNC(unsigned long) PyLong_AsUnsignedLong(PyObject *);
|
||||
PyAPI_FUNC(unsigned long) PyLong_AsUnsignedLongMask(PyObject *);
|
||||
PyAPI_FUNC(Py_ssize_t) PyLong_AsSsize_t(PyObject *);
|
||||
PyAPI_FUNC(PyObject *) PyLong_GetInfo(void);
|
||||
|
||||
/* For use by intobject.c only */
|
||||
#define _PyLong_AsSsize_t PyLong_AsSsize_t
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue