summaryrefslogtreecommitdiffstats
path: root/Include/cpython/initconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/cpython/initconfig.h')
-rw-r--r--Include/cpython/initconfig.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Include/cpython/initconfig.h b/Include/cpython/initconfig.h
index 7fb7a98..ee13046 100644
--- a/Include/cpython/initconfig.h
+++ b/Include/cpython/initconfig.h
@@ -215,6 +215,11 @@ typedef struct PyConfig {
// If non-zero, we believe we're running from a source tree.
int _is_python_build;
+
+#ifdef Py_STATS
+ // If non-zero, turns on statistics gathering.
+ int _pystats;
+#endif
} PyConfig;
PyAPI_FUNC(void) PyConfig_InitPythonConfig(PyConfig *config);