/
shapovalovav
/
AI-Agent
Обзор
Документация
Войти
/
shapovalovav
/
AI-Agent
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
Python314/include/pystats.h
28 строк
698 B
Anatoly1147
first_commit
11 июл 2026, 17:02
11 июл 2026, 17:02
f6c78bd
Код
Авторство
О чём код?
// Statistics on Python performance (public API). // // Define _Py_INCREF_STAT_INC() and _Py_DECREF_STAT_INC() used by Py_INCREF() // and Py_DECREF(). // // See Include/cpython/pystats.h for the full API. #ifndef Py_PYSTATS_H #define Py_PYSTATS_H #ifdef __cplusplus extern "C" { #endif #if defined(Py_STATS) && !defined(Py_LIMITED_API) # define Py_CPYTHON_PYSTATS_H # include "cpython/pystats.h" # undef Py_CPYTHON_PYSTATS_H #else # define _Py_INCREF_STAT_INC() ((void)0) # define _Py_DECREF_STAT_INC() ((void)0) # define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0) # define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0) #endif // !Py_STATS #ifdef __cplusplus } #endif #endif // !Py_PYSTATS_H