annotate DEPENDENCIES/mingw32/Python27/include/pydebug.h @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents 2a2c65a20a8b
children
rev   line source
Chris@87 1
Chris@87 2 #ifndef Py_PYDEBUG_H
Chris@87 3 #define Py_PYDEBUG_H
Chris@87 4 #ifdef __cplusplus
Chris@87 5 extern "C" {
Chris@87 6 #endif
Chris@87 7
Chris@87 8 PyAPI_DATA(int) Py_DebugFlag;
Chris@87 9 PyAPI_DATA(int) Py_VerboseFlag;
Chris@87 10 PyAPI_DATA(int) Py_InteractiveFlag;
Chris@87 11 PyAPI_DATA(int) Py_InspectFlag;
Chris@87 12 PyAPI_DATA(int) Py_OptimizeFlag;
Chris@87 13 PyAPI_DATA(int) Py_NoSiteFlag;
Chris@87 14 PyAPI_DATA(int) Py_BytesWarningFlag;
Chris@87 15 PyAPI_DATA(int) Py_UseClassExceptionsFlag;
Chris@87 16 PyAPI_DATA(int) Py_FrozenFlag;
Chris@87 17 PyAPI_DATA(int) Py_TabcheckFlag;
Chris@87 18 PyAPI_DATA(int) Py_UnicodeFlag;
Chris@87 19 PyAPI_DATA(int) Py_IgnoreEnvironmentFlag;
Chris@87 20 PyAPI_DATA(int) Py_DivisionWarningFlag;
Chris@87 21 PyAPI_DATA(int) Py_DontWriteBytecodeFlag;
Chris@87 22 PyAPI_DATA(int) Py_NoUserSiteDirectory;
Chris@87 23 /* _XXX Py_QnewFlag should go away in 3.0. It's true iff -Qnew is passed,
Chris@87 24 on the command line, and is used in 2.2 by ceval.c to make all "/" divisions
Chris@87 25 true divisions (which they will be in 3.0). */
Chris@87 26 PyAPI_DATA(int) _Py_QnewFlag;
Chris@87 27 /* Warn about 3.x issues */
Chris@87 28 PyAPI_DATA(int) Py_Py3kWarningFlag;
Chris@87 29 PyAPI_DATA(int) Py_HashRandomizationFlag;
Chris@87 30
Chris@87 31 /* this is a wrapper around getenv() that pays attention to
Chris@87 32 Py_IgnoreEnvironmentFlag. It should be used for getting variables like
Chris@87 33 PYTHONPATH and PYTHONHOME from the environment */
Chris@87 34 #define Py_GETENV(s) (Py_IgnoreEnvironmentFlag ? NULL : getenv(s))
Chris@87 35
Chris@87 36 PyAPI_FUNC(void) Py_FatalError(const char *message);
Chris@87 37
Chris@87 38 #ifdef __cplusplus
Chris@87 39 }
Chris@87 40 #endif
Chris@87 41 #endif /* !Py_PYDEBUG_H */