summaryrefslogtreecommitdiff
path: root/Include/longobject.h
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-01-30 10:30:15 +0000
committerMark Dickinson <dickinsm@gmail.com>2010-01-30 10:30:15 +0000
commit93f562c4f9a751034616068468e7dc2cfd022275 (patch)
tree5f41dda113e687676341b3032abc0545c5c4543e /Include/longobject.h
parenta79b75743af3d7c66fcccc1c47699c838422064b (diff)
downloadcpython-git-93f562c4f9a751034616068468e7dc2cfd022275.tar.gz
Merged revisions 77842 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r77842 | mark.dickinson | 2010-01-30 10:08:33 +0000 (Sat, 30 Jan 2010) | 4 lines Issue #7767: Add new C-API function PyLong_AsLongLongAndOverflow, a long long variant of PyLong_AsLongAndOverflow. Patch by Case Van Horsen. ........
Diffstat (limited to 'Include/longobject.h')
-rw-r--r--Include/longobject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/longobject.h b/Include/longobject.h
index 2bb1e716af..83d780d63c 100644
--- a/Include/longobject.h
+++ b/Include/longobject.h
@@ -62,6 +62,7 @@ PyAPI_FUNC(PyObject *) PyLong_FromUnsignedLongLong(unsigned PY_LONG_LONG);
PyAPI_FUNC(PY_LONG_LONG) PyLong_AsLongLong(PyObject *);
PyAPI_FUNC(unsigned PY_LONG_LONG) PyLong_AsUnsignedLongLong(PyObject *);
PyAPI_FUNC(unsigned PY_LONG_LONG) PyLong_AsUnsignedLongLongMask(PyObject *);
+PyAPI_FUNC(PY_LONG_LONG) PyLong_AsLongLongAndOverflow(PyObject *, int *);
#endif /* HAVE_LONG_LONG */
PyAPI_FUNC(PyObject *) PyLong_FromString(char *, char **, int);