Debian Codegraph @

Include/internal/pycore_capsule.h

raw
1 #ifndef Py_INTERNAL_PYCAPSULE_H
2 #define Py_INTERNAL_PYCAPSULE_H
3 #ifdef __cplusplus
4 extern "C" {
5 #endif
6
7 #ifndef Py_BUILD_CORE
8 # error "this header requires Py_BUILD_CORE define"
9 #endif
10
11 // Export for '_socket' shared extension
12 PyAPI_FUNC(int) _PyCapsule_SetTraverse(PyObject *op, traverseproc traverse_func, inquiry clear_func);
13
14 #ifdef __cplusplus
15 }
16 #endif
17 #endif /* !Py_INTERNAL_PYCAPSULE_H */