diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2022-02-28 22:15:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-28 22:15:48 (GMT) |
commit | 08deed1af56bec8668c6cb4d5cfd89e393e1fe5e (patch) | |
tree | 6b556457a1065c75841b6d7d59483494590e32f1 /Include/internal/pycore_gc.h | |
parent | d5b7bba43b7d9559e9894d263ece337084dc4b8d (diff) | |
download | cpython-08deed1af56bec8668c6cb4d5cfd89e393e1fe5e.zip cpython-08deed1af56bec8668c6cb4d5cfd89e393e1fe5e.tar.gz cpython-08deed1af56bec8668c6cb4d5cfd89e393e1fe5e.tar.bz2 |
bpo-46753: Add the empty tuple to the _PyRuntimeState.global_objects. (gh-31345)
https://bugs.python.org/issue46753
Diffstat (limited to 'Include/internal/pycore_gc.h')
-rw-r--r-- | Include/internal/pycore_gc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/internal/pycore_gc.h b/Include/internal/pycore_gc.h index 56a23e9..16c1893 100644 --- a/Include/internal/pycore_gc.h +++ b/Include/internal/pycore_gc.h @@ -20,6 +20,7 @@ typedef struct { } PyGC_Head; #define _Py_AS_GC(o) ((PyGC_Head *)(o)-1) +#define _PyGC_Head_UNUSED PyGC_Head /* True if the object is currently tracked by the GC. */ #define _PyObject_GC_IS_TRACKED(o) (_Py_AS_GC(o)->_gc_next != 0) |