Green shading in the line number column means the source is part of the translation unit, red means it is conditionally excluded. Highlighted line numbers link to the translation unit page. Highlighted macros link to the macro page.
1: #ifndef Py_LIMITED_API 2: #ifndef Py_PYDEBUG_H 3: #define Py_PYDEBUG_H 4: #ifdef __cplusplus 5: extern "C" { 6: #endif 7: 8: /* These global variable are defined in pylifecycle.c */ 9: /* XXX (ncoghlan): move these declarations to pylifecycle.h? */ 10: PyAPI_DATA(int) Py_DebugFlag; 11: PyAPI_DATA(int) Py_VerboseFlag; 12: PyAPI_DATA(int) Py_QuietFlag; 13: PyAPI_DATA(int) Py_InteractiveFlag; 14: PyAPI_DATA(int) Py_InspectFlag; 15: PyAPI_DATA(int) Py_OptimizeFlag; 16: PyAPI_DATA(int) Py_NoSiteFlag; 17: PyAPI_DATA(int) Py_BytesWarningFlag; 18: PyAPI_DATA(int) Py_UseClassExceptionsFlag; 19: PyAPI_DATA(int) Py_FrozenFlag; 20: PyAPI_DATA(int) Py_IgnoreEnvironmentFlag; 21: PyAPI_DATA(int) Py_DontWriteBytecodeFlag; 22: PyAPI_DATA(int) Py_NoUserSiteDirectory; 23: PyAPI_DATA(int) Py_UnbufferedStdioFlag; 24: PyAPI_DATA(int) Py_HashRandomizationFlag; 25: PyAPI_DATA(int) Py_IsolatedFlag; 26: 27: #ifdef MS_WINDOWS 28: PyAPI_DATA(int) Py_LegacyWindowsStdioFlag; 29: #endif 30: 31: /* this is a wrapper around getenv() that pays attention to 32: Py_IgnoreEnvironmentFlag. It should be used for getting variables like 33: PYTHONPATH and PYTHONHOME from the environment */ 34: #define Py_GETENV(s) (Py_IgnoreEnvironmentFlag ? NULL : getenv(s)) 35: 36: #ifdef __cplusplus 37: } 38: #endif 39: #endif /* !Py_PYDEBUG_H */ 40: #endif /* Py_LIMITED_API */ 41: