We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 076136e commit d4488edCopy full SHA for d4488ed
Include/object.h
@@ -358,7 +358,7 @@ static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
358
// Stable ABI implements Py_SET_REFCNT() as an opaque function call in the
359
// limited C API version 3.13 and newer.
360
#if defined(Py_LIMITED_API) && Py_LIMITED_API+0 >= 0x030d0000
361
-PyAPI_DATA(void) Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt);
+PyAPI_FUNC(void) Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt);
362
#else
363
inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
364
// This immortal check is for code that is unaware of immortal objects.
0 commit comments