Kaydet (Commit) 803eff2a authored tarafından Barry Warsaw's avatar Barry Warsaw

Add prototype for PyGC_Dump() -- but only inside the #ifdef

WITH_CYCLE_GC.
üst 6a25e210
...@@ -262,6 +262,8 @@ typedef struct _gc_head { ...@@ -262,6 +262,8 @@ typedef struct _gc_head {
/* Get the object given the PyGC_Head */ /* Get the object given the PyGC_Head */
#define PyObject_FROM_GC(g) ((PyObject *)(((PyGC_Head *)g)+1)) #define PyObject_FROM_GC(g) ((PyObject *)(((PyGC_Head *)g)+1))
extern DL_IMPORT(void) PyGC_Dump(PyGC_Head *);
#endif /* WITH_CYCLE_GC */ #endif /* WITH_CYCLE_GC */
#ifdef __cplusplus #ifdef __cplusplus
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment