Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / tools / src / nas,5.n2.os.2 / lib / python / include / python2.4 / pydebug.h
CommitLineData
86530b38
AT
1#ifndef Py_PYDEBUG_H
2#define Py_PYDEBUG_H
3#ifdef __cplusplus
4extern "C" {
5#endif
6
7PyAPI_DATA(int) Py_DebugFlag;
8PyAPI_DATA(int) Py_VerboseFlag;
9PyAPI_DATA(int) Py_InteractiveFlag;
10PyAPI_DATA(int) Py_OptimizeFlag;
11PyAPI_DATA(int) Py_NoSiteFlag;
12PyAPI_DATA(int) Py_UseClassExceptionsFlag;
13PyAPI_DATA(int) Py_FrozenFlag;
14PyAPI_DATA(int) Py_TabcheckFlag;
15PyAPI_DATA(int) Py_UnicodeFlag;
16PyAPI_DATA(int) Py_IgnoreEnvironmentFlag;
17PyAPI_DATA(int) Py_DivisionWarningFlag;
18/* _XXX Py_QnewFlag should go away in 3.0. It's true iff -Qnew is passed,
19 on the command line, and is used in 2.2 by ceval.c to make all "/" divisions
20 true divisions (which they will be in 3.0). */
21PyAPI_DATA(int) _Py_QnewFlag;
22
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))
27
28PyAPI_FUNC(void) Py_FatalError(const char *message);
29
30#ifdef __cplusplus
31}
32#endif
33#endif /* !Py_PYDEBUG_H */