Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 50cb38d

Browse files
committed
Added support for the gc module (!).
1 parent 14e1871 commit 50cb38d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Mac/Modules/macconfig.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,9 @@ extern void initthread();
162162
#ifdef USE_PYEXPAT
163163
extern void initpyexpat();
164164
#endif
165+
#ifdef WITH_CYCLE_GC
166+
extern void initgc();
167+
#endif
165168

166169
extern void initcPickle();
167170
extern void initcStringIO();
@@ -285,6 +288,9 @@ struct _inittab _PyImport_Inittab[] = {
285288
#endif
286289
#ifdef USE_PYEXPAT
287290
{"pyexpat", initpyexpat},
291+
#endif
292+
#ifdef WITH_CYCLE_GC
293+
{"gc", initgc},
288294
#endif
289295
{"cPickle", initcPickle},
290296
{"cStringIO", initcStringIO},

0 commit comments

Comments
 (0)