We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df4f374 commit ac3d5a8Copy full SHA for ac3d5a8
Modules/gcmodule.c
@@ -31,6 +31,11 @@
31
#include "pydtrace.h"
32
#include "pytime.h" /* for _PyTime_GetMonotonicClock() */
33
34
+/*[clinic input]
35
+module gc
36
+[clinic start generated code]*/
37
+/*[clinic end generated code: output=da39a3ee5e6b4b0d input=b5c9690ecc842d79]*/
38
+
39
#define GC_DEBUG (0) /* More asserts */
40
41
// Bit 0 of gc_prev is used for _PyGC_PREV_MASK_FINALIZED in objimpl.h
@@ -81,11 +86,6 @@ gc_decref(PyGC_Head *g)
81
86
g->gc.gc_prev -= 1 << _PyGC_PREV_SHIFT;
82
87
}
83
88
84
-/*[clinic input]
85
-module gc
-[clinic start generated code]*/
-/*[clinic end generated code: output=da39a3ee5e6b4b0d input=b5c9690ecc842d79]*/
-
89
/* Get an object's GC head */
90
#define AS_GC(o) ((PyGC_Head *)(o)-1)
91
0 commit comments