Limited C API: implement Py_INCREF() and Py_DECREF() as function calls

Follow-up: I wrote PR gh-120601 to convert the Py_TYPE() macro to an opaque function in the limited C API version 3.14 and newer.

2 Likes