mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Add prototype for PyGC_Dump() -- but only inside the #ifdef
WITH_CYCLE_GC.
This commit is contained in:
parent
6a25e210c9
commit
803eff2a83
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue