diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2023-05-31 21:17:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-31 21:17:24 (GMT) |
commit | f87c6d189418850ac9c2e5f9cb08531cf004f704 (patch) | |
tree | a22acb20bd56df12a11800f800af702f0d52c816 /Include | |
parent | e7cb216339e8aa8d00f7f55f9e37864b1720ca0f (diff) | |
download | cpython-f87c6d189418850ac9c2e5f9cb08531cf004f704.zip cpython-f87c6d189418850ac9c2e5f9cb08531cf004f704.tar.gz cpython-f87c6d189418850ac9c2e5f9cb08531cf004f704.tar.bz2 |
[3.12] gh-102304: Fix 2 New Stable ABI Functions (gh-104762) (gh-105123)
Diffstat (limited to 'Include')
-rw-r--r-- | Include/object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/object.h b/Include/object.h index 81aeb2d..c2fee85 100644 --- a/Include/object.h +++ b/Include/object.h @@ -590,7 +590,7 @@ you can count such references to the type object.) extern Py_ssize_t _Py_RefTotal; # define _Py_INC_REFTOTAL() _Py_RefTotal++ # define _Py_DEC_REFTOTAL() _Py_RefTotal-- -# elif !defined(Py_LIMITED_API) || Py_LIMITED_API+0 > 0x030C0000 +# elif !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030C0000 PyAPI_FUNC(void) _Py_IncRefTotal_DO_NOT_USE_THIS(void); PyAPI_FUNC(void) _Py_DecRefTotal_DO_NOT_USE_THIS(void); # define _Py_INC_REFTOTAL() _Py_IncRefTotal_DO_NOT_USE_THIS() |