diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-03-20 15:51:55 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-03-20 15:51:55 (GMT) |
commit | efc82f7e8eff19d8e844a3dc268a88de7fbcb173 (patch) | |
tree | 58198f2e7610ba6d33865884487de006de30af85 /Include/longobject.h | |
parent | c8e81ef508f0f1dc4e5c31bd0bec2766867fead5 (diff) | |
download | cpython-efc82f7e8eff19d8e844a3dc268a88de7fbcb173.zip cpython-efc82f7e8eff19d8e844a3dc268a88de7fbcb173.tar.gz cpython-efc82f7e8eff19d8e844a3dc268a88de7fbcb173.tar.bz2 |
Issue #4258: Use 30-bit digits for Python longs, on 64-bit platforms.
Backport of r70459.
Diffstat (limited to 'Include/longobject.h')
-rw-r--r-- | Include/longobject.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/longobject.h b/Include/longobject.h index fa511a7..ea9e387 100644 --- a/Include/longobject.h +++ b/Include/longobject.h @@ -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 |