summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2001-01-23 16:37:22 (GMT)
committerBarry Warsaw <barry@python.org>2001-01-23 16:37:22 (GMT)
commit803eff2a830752639a8041b568ae56285f7f8b26 (patch)
tree75197f4c19de7e771b4b019968c3f49074743209 /Include
parent6a25e210c922003a25cb2f28699bb7e81b22c3d7 (diff)
downloadcpython-803eff2a830752639a8041b568ae56285f7f8b26.zip
cpython-803eff2a830752639a8041b568ae56285f7f8b26.tar.gz
cpython-803eff2a830752639a8041b568ae56285f7f8b26.tar.bz2
Add prototype for PyGC_Dump() -- but only inside the #ifdef
WITH_CYCLE_GC.
Diffstat (limited to 'Include')
-rw-r--r--Include/objimpl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/objimpl.h b/Include/objimpl.h
index 2a365d9..2410d45 100644
--- a/Include/objimpl.h
+++ b/Include/objimpl.h
@@ -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