summaryrefslogtreecommitdiffstats
path: root/Include/longobject.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2019-05-19 11:14:38 (GMT)
committerGitHub <noreply@github.com>2019-05-19 11:14:38 (GMT)
commita5119e7d75c9729fc36c059d05f3d7132e7f6bb4 (patch)
treeb9e16c88635e3230a7b5d60b399ea71ff2b38494 /Include/longobject.h
parent1d5bdef550d4395211fbe5f3c1444d7ea5bb54a2 (diff)
downloadcpython-a5119e7d75c9729fc36c059d05f3d7132e7f6bb4.zip
cpython-a5119e7d75c9729fc36c059d05f3d7132e7f6bb4.tar.gz
cpython-a5119e7d75c9729fc36c059d05f3d7132e7f6bb4.tar.bz2
bpo-36957: Add _PyLong_Rshift() and _PyLong_Lshift(). (GH-13416)
Diffstat (limited to 'Include/longobject.h')
-rw-r--r--Include/longobject.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/longobject.h b/Include/longobject.h
index b696f54..a24bbea 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