Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-11-19 09:50:54

0001 // Statistics on Python performance (public API).
0002 //
0003 // Define _Py_INCREF_STAT_INC() and _Py_DECREF_STAT_INC() used by Py_INCREF()
0004 // and Py_DECREF().
0005 //
0006 // See Include/cpython/pystats.h for the full API.
0007 
0008 #ifndef Py_PYSTATS_H
0009 #define Py_PYSTATS_H
0010 #ifdef __cplusplus
0011 extern "C" {
0012 #endif
0013 
0014 #if defined(Py_STATS) && !defined(Py_LIMITED_API)
0015 #  define Py_CPYTHON_PYSTATS_H
0016 #  include "cpython/pystats.h"
0017 #  undef Py_CPYTHON_PYSTATS_H
0018 #else
0019 #  define _Py_INCREF_STAT_INC() ((void)0)
0020 #  define _Py_DECREF_STAT_INC() ((void)0)
0021 #endif  // !Py_STATS
0022 
0023 #ifdef __cplusplus
0024 }
0025 #endif
0026 #endif   // !Py_PYSTATS_H