mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
gh-102304: Fix 2 New Stable ABI Functions (gh-104762)
This commit is contained in:
parent
70f315c2d6
commit
26e7bbf66e
4 changed files with 14 additions and 1 deletions
|
@ -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 > 0x030D0000
|
||||
# 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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue