summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-08-29 01:20:02 (GMT)
committerGitHub <noreply@github.com>2023-08-29 01:20:02 (GMT)
commit39506ee565ce819e14e8071227fc53b8dcb6a788 (patch)
tree999ccd8c1607099b7bac889089341ba32c193986 /Objects
parent4fb96a11db5eaca3646bfa697d191469e567d283 (diff)
downloadcpython-39506ee565ce819e14e8071227fc53b8dcb6a788.zip
cpython-39506ee565ce819e14e8071227fc53b8dcb6a788.tar.gz
cpython-39506ee565ce819e14e8071227fc53b8dcb6a788.tar.bz2
gh-108240: Add pycore_capsule.h internal header file (#108596)
Move _PyCapsule_SetTraverse() definition to a new internal header file: pycore_capsule.h.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/capsule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/capsule.c b/Objects/capsule.c
index a1abcf6..555979d 100644
--- a/Objects/capsule.c
+++ b/Objects/capsule.c
@@ -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()