Skip to content

Commit ac3d5a8

Browse files
committed
Move clinic header
1 parent df4f374 commit ac3d5a8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Modules/gcmodule.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@
3131
#include "pydtrace.h"
3232
#include "pytime.h" /* for _PyTime_GetMonotonicClock() */
3333

34+
/*[clinic input]
35+
module gc
36+
[clinic start generated code]*/
37+
/*[clinic end generated code: output=da39a3ee5e6b4b0d input=b5c9690ecc842d79]*/
38+
3439
#define GC_DEBUG (0) /* More asserts */
3540

3641
// Bit 0 of gc_prev is used for _PyGC_PREV_MASK_FINALIZED in objimpl.h
@@ -81,11 +86,6 @@ gc_decref(PyGC_Head *g)
8186
g->gc.gc_prev -= 1 << _PyGC_PREV_SHIFT;
8287
}
8388

84-
/*[clinic input]
85-
module gc
86-
[clinic start generated code]*/
87-
/*[clinic end generated code: output=da39a3ee5e6b4b0d input=b5c9690ecc842d79]*/
88-
8989
/* Get an object's GC head */
9090
#define AS_GC(o) ((PyGC_Head *)(o)-1)
9191

0 commit comments

Comments
 (0)