summaryrefslogtreecommitdiff
path: root/Include/pydebug.h
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2014-11-20 21:39:37 +1000
committerNick Coghlan <ncoghlan@gmail.com>2014-11-20 21:39:37 +1000
commitd600951748d7a19cdb3e58a376c51ed804b630e6 (patch)
treec28038ac0a6f2dbab55ceee1217ab8efb61cd64d /Include/pydebug.h
parent66fb349d6ca325f54f2f89986146ddb8f3bcbef4 (diff)
downloadcpython-git-d600951748d7a19cdb3e58a376c51ed804b630e6.tar.gz
Issue #22869: Split pythonrun into two modules
- interpreter startup and shutdown code moved to a new pylifecycle.c module - Py_OptimizeFlag moved into the new module with the other global flags
Diffstat (limited to 'Include/pydebug.h')
-rw-r--r--Include/pydebug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/pydebug.h b/Include/pydebug.h
index 8fe98183f9..19bec2bd81 100644
--- a/Include/pydebug.h
+++ b/Include/pydebug.h
@@ -5,6 +5,8 @@
extern "C" {
#endif
+/* These global variable are defined in pylifecycle.c */
+/* XXX (ncoghlan): move these declarations to pylifecycle.h? */
PyAPI_DATA(int) Py_DebugFlag;
PyAPI_DATA(int) Py_VerboseFlag;
PyAPI_DATA(int) Py_QuietFlag;