diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2010-01-30 10:30:15 +0000 |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2010-01-30 10:30:15 +0000 |
commit | 121201981e5394eff79b6304523ca376109864f2 (patch) | |
tree | 74d927dc6d1796106dfdd97d5e7bf5f86ec1a854 /Include/longobject.h | |
parent | 77d4a2620607ab529b8d7f8cd40a178b67230f17 (diff) | |
download | cpython-121201981e5394eff79b6304523ca376109864f2.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.h | 1 |
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); |