Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
pystats.h29 linesDownload Raw Back to include
1// Statistics on Python performance (public API).2//3// Define _Py_INCREF_STAT_INC() and _Py_DECREF_STAT_INC() used by Py_INCREF()4// and Py_DECREF().5//6// See Include/cpython/pystats.h for the full API.7 8#ifndef Py_PYSTATS_H9#define Py_PYSTATS_H10#ifdef __cplusplus11extern "C" {12#endif13 14#if defined(Py_STATS) && !defined(Py_LIMITED_API)15#  define Py_CPYTHON_PYSTATS_H16#  include "cpython/pystats.h"17#  undef Py_CPYTHON_PYSTATS_H18#else19#  define _Py_INCREF_STAT_INC() ((void)0)20#  define _Py_DECREF_STAT_INC() ((void)0)21#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)22#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)23#endif  // !Py_STATS24 25#ifdef __cplusplus26}27#endif28#endif   // !Py_PYSTATS_H29 
codekingpro/portable-devtools · Team Ai