1996-05-22 13:38:17 -03:00
|
|
|
|
|
|
|
#ifndef Py_PYDEBUG_H
|
|
|
|
#define Py_PYDEBUG_H
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern DL_IMPORT(int) Py_DebugFlag;
|
|
|
|
extern DL_IMPORT(int) Py_VerboseFlag;
|
1997-02-14 15:51:09 -04:00
|
|
|
extern DL_IMPORT(int) Py_InteractiveFlag;
|
1997-03-03 15:13:54 -04:00
|
|
|
extern DL_IMPORT(int) Py_OptimizeFlag;
|
1997-08-29 19:34:00 -03:00
|
|
|
extern DL_IMPORT(int) Py_NoSiteFlag;
|
1997-08-29 19:01:11 -03:00
|
|
|
extern DL_IMPORT(int) Py_UseClassExceptionsFlag;
|
1998-02-06 18:27:46 -04:00
|
|
|
extern DL_IMPORT(int) Py_FrozenFlag;
|
1998-04-10 14:59:44 -03:00
|
|
|
extern DL_IMPORT(int) Py_TabcheckFlag;
|
2000-05-01 14:55:15 -03:00
|
|
|
extern DL_IMPORT(int) Py_UnicodeFlag;
|
2001-07-23 13:30:27 -03:00
|
|
|
extern DL_IMPORT(int) Py_IgnoreEnvironmentFlag;
|
|
|
|
|
2001-07-23 13:50:15 -03:00
|
|
|
/* this is a wrapper around getenv() that pays attention to
|
2001-07-23 13:30:27 -03:00
|
|
|
Py_IgnoreEnvironmentFlag. It should be used for getting variables like
|
|
|
|
PYTHONPATH and PYTHONHOME from the environment */
|
|
|
|
#define Py_GETENV(s) (Py_IgnoreEnvironmentFlag ? NULL : getenv(s))
|
1996-05-22 13:38:17 -03:00
|
|
|
|
2000-07-08 20:37:28 -03:00
|
|
|
DL_IMPORT(void) Py_FatalError(char *message);
|
1996-05-22 13:38:17 -03:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif /* !Py_PYDEBUG_H */
|