summaryrefslogtreecommitdiffstats
path: root/Include/longobject.h
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-01-30 10:08:33 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-01-30 10:08:33 (GMT)
commita36507c64cd8d299749c758503b0951070e202f8 (patch)
tree0b90f9b4ef76013d53300ba7de85a715a3aa958e /Include/longobject.h
parenta2d465374099c582ef9bc042c2fe1be4776ee641 (diff)
downloadcpython-a36507c64cd8d299749c758503b0951070e202f8.zip
cpython-a36507c64cd8d299749c758503b0951070e202f8.tar.gz
cpython-a36507c64cd8d299749c758503b0951070e202f8.tar.bz2
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 71815e5..2b40461 100644
--- a/Include/longobject.h
+++ b/Include/longobject.h
@@ -51,6 +51,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);