]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-99300: Use Py_NewRef() in Modules/_ctypes/ (#99436)
authorVictor Stinner <vstinner@python.org>
Sun, 13 Nov 2022 15:04:54 +0000 (16:04 +0100)
committerGitHub <noreply@github.com>
Sun, 13 Nov 2022 15:04:54 +0000 (16:04 +0100)
commit50b0415127009119882e32377d25a4d191088a76
tree419521e9bb29aed3a97a9e76444bbf10d0d440d6
parentbbba3f3f43a23ce30e5e943b8b4af197bc844fc3
gh-99300: Use Py_NewRef() in Modules/_ctypes/ (#99436)

Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and
Py_XNewRef() in C files of the Modules/_ctypes/ directory.
Modules/_ctypes/_ctypes.c
Modules/_ctypes/callbacks.c
Modules/_ctypes/callproc.c
Modules/_ctypes/cfield.c
Modules/_ctypes/stgdict.c