]> granicus.if.org Git - python/commitdiff
Add prototype for PyGC_Dump() -- but only inside the #ifdef
authorBarry Warsaw <barry@python.org>
Tue, 23 Jan 2001 16:37:22 +0000 (16:37 +0000)
committerBarry Warsaw <barry@python.org>
Tue, 23 Jan 2001 16:37:22 +0000 (16:37 +0000)
WITH_CYCLE_GC.

Include/objimpl.h

index 2a365d9e0167b1ba8ca4d59c4c5dded66af75a2b..2410d454003579a47f350bbe1f02b1af800d8274 100644 (file)
@@ -262,6 +262,8 @@ typedef struct _gc_head {
 /* Get the object given the PyGC_Head */
 #define PyObject_FROM_GC(g) ((PyObject *)(((PyGC_Head *)g)+1))
 
+extern DL_IMPORT(void) PyGC_Dump(PyGC_Head *);
+
 #endif /* WITH_CYCLE_GC */
 
 #ifdef __cplusplus