diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2019-05-19 11:14:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-19 11:14:38 (GMT) |
commit | a5119e7d75c9729fc36c059d05f3d7132e7f6bb4 (patch) | |
tree | b9e16c88635e3230a7b5d60b399ea71ff2b38494 /Include/longobject.h | |
parent | 1d5bdef550d4395211fbe5f3c1444d7ea5bb54a2 (diff) | |
download | cpython-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.h | 3 |
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 |