egaudry <e...@fft.be> added the comment:
Victor, extern PyGC_Head *_PyGC_generation0; is located at line 374 of Include/objimpl.h (ifndef Py_LIMITED_API). I used it from a CPython extension we are developing as an handle to the collection of objects being garbage collected. >From what you explained, I should use the _PyRuntime exported symbol to get >the handle this PyGC_Head. I'll do this. I guess that cleaning the Include/objimpl.h is the only remaining action to do then. Thanks for your feedback. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38542> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com