update peek documentation to implementation
[python/dscho.git] / Include / pydebug.h
blob0a31f5ba01e1aa47aa01b1f845b53d544232c47d
2 #ifndef Py_PYDEBUG_H
3 #define Py_PYDEBUG_H
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
8 PyAPI_DATA(int) Py_DebugFlag;
9 PyAPI_DATA(int) Py_VerboseFlag;
10 PyAPI_DATA(int) Py_InteractiveFlag;
11 PyAPI_DATA(int) Py_InspectFlag;
12 PyAPI_DATA(int) Py_OptimizeFlag;
13 PyAPI_DATA(int) Py_NoSiteFlag;
14 PyAPI_DATA(int) Py_BytesWarningFlag;
15 PyAPI_DATA(int) Py_UseClassExceptionsFlag;
16 PyAPI_DATA(int) Py_FrozenFlag;
17 PyAPI_DATA(int) Py_IgnoreEnvironmentFlag;
18 PyAPI_DATA(int) Py_DivisionWarningFlag;
19 PyAPI_DATA(int) Py_DontWriteBytecodeFlag;
20 PyAPI_DATA(int) Py_NoUserSiteDirectory;
21 PyAPI_DATA(int) Py_UnbufferedStdioFlag;
23 /* this is a wrapper around getenv() that pays attention to
24 Py_IgnoreEnvironmentFlag. It should be used for getting variables like
25 PYTHONPATH and PYTHONHOME from the environment */
26 #define Py_GETENV(s) (Py_IgnoreEnvironmentFlag ? NULL : getenv(s))
28 PyAPI_FUNC(void) Py_FatalError(const char *message);
30 #ifdef __cplusplus
32 #endif
33 #endif /* !Py_PYDEBUG_H */