/
githubmirror
/
cpython
Обзор
Документация
Войти
/
githubmirror
/
cpython
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
Include/internal/pycore_capsule.h
17 строк
397 B
Victor Stinner
gh-108240: Add pycore_capsule.h internal header file (#108596)
29 авг 2023, 04:20
Не верифицирован
29 авг 2023, 04:20
39506ee
Код
Авторство
О чём код?
#ifndef Py_INTERNAL_PYCAPSULE_H #define Py_INTERNAL_PYCAPSULE_H #ifdef __cplusplus extern "C" { #endif #ifndef Py_BUILD_CORE # error "this header requires Py_BUILD_CORE define" #endif // Export for '_socket' shared extension PyAPI_FUNC(int) _PyCapsule_SetTraverse(PyObject *op, traverseproc traverse_func, inquiry clear_func); #ifdef __cplusplus } #endif #endif /* !Py_INTERNAL_PYCAPSULE_H */