diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2019-05-19 14:14:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-19 14:14:38 +0300 |
commit | a5119e7d75c9729fc36c059d05f3d7132e7f6bb4 (patch) | |
tree | b9e16c88635e3230a7b5d60b399ea71ff2b38494 /Include/longobject.h | |
parent | Orthographical fix (GH-13418) (diff) | |
download | cpython-a5119e7d75c9729fc36c059d05f3d7132e7f6bb4.tar.gz cpython-a5119e7d75c9729fc36c059d05f3d7132e7f6bb4.tar.bz2 cpython-a5119e7d75c9729fc36c059d05f3d7132e7f6bb4.zip |
bpo-36957: Add _PyLong_Rshift() and _PyLong_Lshift(). (GH-13416)
Diffstat (limited to 'Include/longobject.h')
-rw-r--r-- | Include/longobject.h | 3 |
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 |