summaryrefslogtreecommitdiff
path: root/Include/objimpl.h
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2001-01-23 16:37:22 +0000
committerBarry Warsaw <barry@python.org>2001-01-23 16:37:22 +0000
commit1ba98d2da3c75281f29926fd0adf695bad515eb5 (patch)
tree3ddb4011d518dc57b7000af0ecd7478cb9c42bb9 /Include/objimpl.h
parent34d8dc96b331dd9fff17d4e8b06fd2d4ddd5cb3f (diff)
downloadcpython-1ba98d2da3c75281f29926fd0adf695bad515eb5.tar.gz
Add prototype for PyGC_Dump() -- but only inside the #ifdef
WITH_CYCLE_GC.
Diffstat (limited to 'Include/objimpl.h')
-rw-r--r--Include/objimpl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/objimpl.h b/Include/objimpl.h
index 2a365d9e01..2410d45400 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