Skip to content

Commit d4488ed

Browse files
vstinnerpitrou
andauthored
Update Include/object.h
Co-authored-by: Antoine Pitrou <[email protected]>
1 parent 076136e commit d4488ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/object.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ static inline int Py_IS_TYPE(PyObject *ob, PyTypeObject *type) {
358358
// Stable ABI implements Py_SET_REFCNT() as an opaque function call in the
359359
// limited C API version 3.13 and newer.
360360
#if defined(Py_LIMITED_API) && Py_LIMITED_API+0 >= 0x030d0000
361-
PyAPI_DATA(void) Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt);
361+
PyAPI_FUNC(void) Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt);
362362
#else
363363
inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
364364
// This immortal check is for code that is unaware of immortal objects.

0 commit comments

Comments
 (0)