Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.0 KiB

  1. #ifndef Py_PYDEBUG_H
  2. #define Py_PYDEBUG_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. PyAPI_DATA(int) Py_DebugFlag;
  7. PyAPI_DATA(int) Py_VerboseFlag;
  8. PyAPI_DATA(int) Py_InteractiveFlag;
  9. PyAPI_DATA(int) Py_OptimizeFlag;
  10. PyAPI_DATA(int) Py_NoSiteFlag;
  11. PyAPI_DATA(int) Py_UseClassExceptionsFlag;
  12. PyAPI_DATA(int) Py_FrozenFlag;
  13. PyAPI_DATA(int) Py_TabcheckFlag;
  14. PyAPI_DATA(int) Py_UnicodeFlag;
  15. PyAPI_DATA(int) Py_IgnoreEnvironmentFlag;
  16. PyAPI_DATA(int) Py_DivisionWarningFlag;
  17. /* _XXX Py_QnewFlag should go away in 3.0. It's true iff -Qnew is passed,
  18. on the command line, and is used in 2.2 by ceval.c to make all "/" divisions
  19. true divisions (which they will be in 3.0). */
  20. PyAPI_DATA(int) _Py_QnewFlag;
  21. /* this is a wrapper around getenv() that pays attention to
  22. Py_IgnoreEnvironmentFlag. It should be used for getting variables like
  23. PYTHONPATH and PYTHONHOME from the environment */
  24. #define Py_GETENV(s) (Py_IgnoreEnvironmentFlag ? NULL : getenv(s))
  25. PyAPI_FUNC(void) Py_FatalError(const char *message);
  26. #ifdef __cplusplus
  27. }
  28. #endif
  29. #endif /* !Py_PYDEBUG_H */