summaryrefslogtreecommitdiffstats
path: root/Include/pycapsule.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/pycapsule.h')
-rw-r--r--Include/pycapsule.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/pycapsule.h b/Include/pycapsule.h
index 929a9a6..8660e83 100644
--- a/Include/pycapsule.h
+++ b/Include/pycapsule.h
@@ -48,6 +48,10 @@ PyAPI_FUNC(int) PyCapsule_SetName(PyObject *capsule, const char *name);
PyAPI_FUNC(int) PyCapsule_SetContext(PyObject *capsule, void *context);
+#ifdef Py_BUILD_CORE
+PyAPI_FUNC(int) _PyCapsule_SetTraverse(PyObject *op, traverseproc traverse_func, inquiry clear_func);
+#endif
+
PyAPI_FUNC(void *) PyCapsule_Import(
const char *name, /* UTF-8 encoded string */
int no_block);