aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2019-05-19 14:14:38 +0300
committerGitHub <noreply@github.com>2019-05-19 14:14:38 +0300
commita5119e7d75c9729fc36c059d05f3d7132e7f6bb4 (patch)
treeb9e16c88635e3230a7b5d60b399ea71ff2b38494 /Include
parentOrthographical fix (GH-13418) (diff)
downloadcpython-a5119e7d75c9729fc36c059d05f3d7132e7f6bb4.tar.gz
cpython-a5119e7d75c9729fc36c059d05f3d7132e7f6bb4.tar.bz2
cpython-a5119e7d75c9729fc36c059d05f3d7132e7f6bb4.zip
bpo-36957: Add _PyLong_Rshift() and _PyLong_Lshift(). (GH-13416)
Diffstat (limited to 'Include')
-rw-r--r--Include/longobject.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/longobject.h b/Include/longobject.h
index b696f544b9c..a24bbea3a90 100644
--- a/Include/longobject.h
+++ b/Include/longobject.h
@@ -230,6 +230,9 @@ PyAPI_FUNC(PyObject *) _PyLong_GCD(PyObject *, PyObject *);
#ifndef Py_LIMITED_API
PyAPI_DATA(PyObject *) _PyLong_Zero;
PyAPI_DATA(PyObject *) _PyLong_One;
+
+PyAPI_FUNC(PyObject *) _PyLong_Rshift(PyObject *, size_t);
+PyAPI_FUNC(PyObject *) _PyLong_Lshift(PyObject *, size_t);
#endif
#ifdef __cplusplus