pydebug.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #ifndef Py_LIMITED_API
  2. #ifndef Py_PYDEBUG_H
  3. #define Py_PYDEBUG_H
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_DebugFlag;
  8. Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_VerboseFlag;
  9. Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_QuietFlag;
  10. Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_InteractiveFlag;
  11. Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_InspectFlag;
  12. Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_OptimizeFlag;
  13. Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_NoSiteFlag;
  14. Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_BytesWarningFlag;
  15. Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_FrozenFlag;
  16. Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_IgnoreEnvironmentFlag;
  17. Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_DontWriteBytecodeFlag;
  18. Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_NoUserSiteDirectory;
  19. Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_UnbufferedStdioFlag;
  20. Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_HashRandomizationFlag;
  21. Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_IsolatedFlag;
  22. #ifdef MS_WINDOWS
  23. Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_LegacyWindowsFSEncodingFlag;
  24. Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_LegacyWindowsStdioFlag;
  25. #endif
  26. /* this is a wrapper around getenv() that pays attention to
  27. Py_IgnoreEnvironmentFlag. It should be used for getting variables like
  28. PYTHONPATH and PYTHONHOME from the environment */
  29. PyAPI_FUNC(char*) Py_GETENV(const char *name);
  30. #ifdef __cplusplus
  31. }
  32. #endif
  33. #endif /* !Py_PYDEBUG_H */
  34. #endif /* Py_LIMITED_API */