| 84 | // bpo-39573 added Py_SET_REFCNT() to Python 3.9.0a4 |
| 85 | #if PY_VERSION_HEX < 0x030900A4 && !defined(Py_SET_REFCNT) |
| 86 | static inline void _Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) |
| 87 | { |
| 88 | ob->ob_refcnt = refcnt; |
| 89 | } |
| 90 | #define Py_SET_REFCNT(ob, refcnt) _Py_SET_REFCNT(_PyObject_CAST(ob), refcnt) |
| 91 | #endif |
| 92 |
nothing calls this directly
no outgoing calls
no test coverage detected