openmedialibrary_platform/Darwin/include/python3.5m/pydebug.h

37 lines
1.1 KiB
C
Raw Normal View History

2014-09-30 16:15:32 +00:00
#ifndef Py_LIMITED_API
2013-10-11 17:28:32 +00:00
#ifndef Py_PYDEBUG_H
#define Py_PYDEBUG_H
#ifdef __cplusplus
extern "C" {
#endif
2015-11-25 01:25:01 +00:00
/* These global variable are defined in pylifecycle.c */
/* XXX (ncoghlan): move these declarations to pylifecycle.h? */
2013-10-11 17:28:32 +00:00
PyAPI_DATA(int) Py_DebugFlag;
PyAPI_DATA(int) Py_VerboseFlag;
2014-09-30 16:15:32 +00:00
PyAPI_DATA(int) Py_QuietFlag;
2013-10-11 17:28:32 +00:00
PyAPI_DATA(int) Py_InteractiveFlag;
PyAPI_DATA(int) Py_InspectFlag;
PyAPI_DATA(int) Py_OptimizeFlag;
PyAPI_DATA(int) Py_NoSiteFlag;
PyAPI_DATA(int) Py_BytesWarningFlag;
PyAPI_DATA(int) Py_UseClassExceptionsFlag;
PyAPI_DATA(int) Py_FrozenFlag;
PyAPI_DATA(int) Py_IgnoreEnvironmentFlag;
PyAPI_DATA(int) Py_DontWriteBytecodeFlag;
PyAPI_DATA(int) Py_NoUserSiteDirectory;
2014-09-30 16:15:32 +00:00
PyAPI_DATA(int) Py_UnbufferedStdioFlag;
2013-10-11 17:28:32 +00:00
PyAPI_DATA(int) Py_HashRandomizationFlag;
2014-09-30 16:15:32 +00:00
PyAPI_DATA(int) Py_IsolatedFlag;
2013-10-11 17:28:32 +00:00
/* this is a wrapper around getenv() that pays attention to
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))
#ifdef __cplusplus
}
#endif
#endif /* !Py_PYDEBUG_H */
2014-09-30 16:15:32 +00:00
#endif /* Py_LIMITED_API */