mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
gh-108240: Add pycore_capsule.h internal header file (#108596)
Move _PyCapsule_SetTraverse() definition to a new internal header file: pycore_capsule.h.
This commit is contained in:
parent
4fb96a11db
commit
39506ee565
7 changed files with 24 additions and 5 deletions
|
|
@ -1,6 +1,7 @@
|
|||
/* Wrap void * pointers to be passed between C modules */
|
||||
|
||||
#include "Python.h"
|
||||
#include "pycore_capsule.h" // export _PyCapsule_SetTraverse()
|
||||
#include "pycore_gc.h" // _PyObject_GC_IS_TRACKED()
|
||||
#include "pycore_object.h" // _PyObject_GC_TRACK()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue