summaryrefslogtreecommitdiffstats
path: root/Modules/_ctypes
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2023-11-20 13:52:00 (GMT)
committerGitHub <noreply@github.com>2023-11-20 13:52:00 (GMT)
commit3b3ec0d77f0f836cbe5ff1ab97efcc8b7ed5d787 (patch)
treef79786b7e97064b1a71840ac9c1421e87d6adc15 /Modules/_ctypes
parent1c8f912ebdfdb146cd7dd2d7a3a67d2c5045ddb0 (diff)
downloadcpython-3b3ec0d77f0f836cbe5ff1ab97efcc8b7ed5d787.zip
cpython-3b3ec0d77f0f836cbe5ff1ab97efcc8b7ed5d787.tar.gz
cpython-3b3ec0d77f0f836cbe5ff1ab97efcc8b7ed5d787.tar.bz2
gh-111863: Rename `Py_NOGIL` to `Py_GIL_DISABLED` (#111864)
Rename Py_NOGIL to Py_GIL_DISABLED
Diffstat (limited to 'Modules/_ctypes')
-rw-r--r--Modules/_ctypes/_ctypes_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_ctypes/_ctypes_test.c b/Modules/_ctypes/_ctypes_test.c
index 5869d8f..d33e6fc 100644
--- a/Modules/_ctypes/_ctypes_test.c
+++ b/Modules/_ctypes/_ctypes_test.c
@@ -1,8 +1,8 @@
#ifndef _MSC_VER
-#include "pyconfig.h" // Py_NOGIL
+#include "pyconfig.h" // Py_GIL_DISABLED
#endif
-#ifndef Py_NOGIL
+#ifndef Py_GIL_DISABLED
// Need limited C API version 3.12 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
#define Py_LIMITED_API 0x030c0000
#endif