diff options
author | Mark Shannon <mark@hotpy.org> | 2021-08-27 08:21:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-27 08:21:01 (GMT) |
commit | d3eaf0cc5b311ad023fd13e367f817d528403306 (patch) | |
tree | d21a76b0e3aa781e66d07442c75599e35c3d27bd /Include/internal/pycore_long.h | |
parent | 245f1f260577a005fd631144b4377febef0b47ed (diff) | |
download | cpython-d3eaf0cc5b311ad023fd13e367f817d528403306.zip cpython-d3eaf0cc5b311ad023fd13e367f817d528403306.tar.gz cpython-d3eaf0cc5b311ad023fd13e367f817d528403306.tar.bz2 |
bpo-44945: Specialize BINARY_ADD (GH-27967)
Diffstat (limited to 'Include/internal/pycore_long.h')
-rw-r--r-- | Include/internal/pycore_long.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/internal/pycore_long.h b/Include/internal/pycore_long.h index 2bea3a5..7336c31 100644 --- a/Include/internal/pycore_long.h +++ b/Include/internal/pycore_long.h @@ -34,6 +34,8 @@ static inline PyObject* _PyLong_GetZero(void) static inline PyObject* _PyLong_GetOne(void) { return __PyLong_GetSmallInt_internal(1); } +PyObject *_PyLong_Add(PyLongObject *left, PyLongObject *right); + #ifdef __cplusplus } #endif |