From: Eric Snow Date: Mon, 22 May 2023 23:03:17 +0000 (-0600) Subject: gh-102304: Temporarily Bump Py_LIMITED_API for 2 New Functions (#104766) X-Git-Tag: v3.13.0a1~2091 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=421cbf39fba94c4031c87d3c3e9bb8a8a4ca54a8;p=thirdparty%2FPython%2Fcpython.git gh-102304: Temporarily Bump Py_LIMITED_API for 2 New Functions (#104766) Quick and dirty. --- diff --git a/Include/object.h b/Include/object.h index 81aeb2d8bd5a..c4fe2f83ef62 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 > 0x030D0000 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()