mirror of
https://github.com/python/cpython.git
synced 2025-12-04 08:34:25 +00:00
gh-102304: Temporarily Bump Py_LIMITED_API for 2 New Functions (#104766)
Quick and dirty.
This commit is contained in:
parent
4ded2c5e9c
commit
421cbf39fb
1 changed files with 1 additions and 1 deletions
|
|
@ -590,7 +590,7 @@ you can count such references to the type object.)
|
||||||
extern Py_ssize_t _Py_RefTotal;
|
extern Py_ssize_t _Py_RefTotal;
|
||||||
# define _Py_INC_REFTOTAL() _Py_RefTotal++
|
# define _Py_INC_REFTOTAL() _Py_RefTotal++
|
||||||
# define _Py_DEC_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 > 0x030D0000
|
||||||
PyAPI_FUNC(void) _Py_IncRefTotal_DO_NOT_USE_THIS(void);
|
PyAPI_FUNC(void) _Py_IncRefTotal_DO_NOT_USE_THIS(void);
|
||||||
PyAPI_FUNC(void) _Py_DecRefTotal_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()
|
# define _Py_INC_REFTOTAL() _Py_IncRefTotal_DO_NOT_USE_THIS()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue