diff options
author | Hugo van Kemenade <hugovk@users.noreply.github.com> | 2023-11-20 13:52:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-20 13:52:00 (GMT) |
commit | 3b3ec0d77f0f836cbe5ff1ab97efcc8b7ed5d787 (patch) | |
tree | f79786b7e97064b1a71840ac9c1421e87d6adc15 /Modules/_testcapi | |
parent | 1c8f912ebdfdb146cd7dd2d7a3a67d2c5045ddb0 (diff) | |
download | cpython-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/_testcapi')
-rw-r--r-- | Modules/_testcapi/heaptype_relative.c | 4 | ||||
-rw-r--r-- | Modules/_testcapi/vectorcall_limited.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Modules/_testcapi/heaptype_relative.c b/Modules/_testcapi/heaptype_relative.c index b58d26c..52286f0 100644 --- a/Modules/_testcapi/heaptype_relative.c +++ b/Modules/_testcapi/heaptype_relative.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 #define Py_LIMITED_API 0x030c0000 // 3.12 #endif diff --git a/Modules/_testcapi/vectorcall_limited.c b/Modules/_testcapi/vectorcall_limited.c index 857cb30..0a650f1 100644 --- a/Modules/_testcapi/vectorcall_limited.c +++ b/Modules/_testcapi/vectorcall_limited.c @@ -1,10 +1,10 @@ /* Test Vectorcall in the limited API */ #ifndef _MSC_VER -#include "pyconfig.h" // Py_NOGIL +#include "pyconfig.h" // Py_GIL_DISABLED #endif -#ifndef Py_NOGIL +#ifndef Py_GIL_DISABLED #define Py_LIMITED_API 0x030c0000 // 3.12 #endif |