mirror of https://github.com/python/cpython.git
Add prototype for PyGC_Dump() -- but only inside the #ifdef
WITH_CYCLE_GC.
This commit is contained in:
parent
6a25e210c9
commit
803eff2a83
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue