Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-11-19 09:50:55

0001 #ifndef Py_SYSMODULE_H
0002 #define Py_SYSMODULE_H
0003 #ifdef __cplusplus
0004 extern "C" {
0005 #endif
0006 
0007 PyAPI_FUNC(PyObject *) PySys_GetObject(const char *);
0008 PyAPI_FUNC(int) PySys_SetObject(const char *, PyObject *);
0009 
0010 Py_DEPRECATED(3.11) PyAPI_FUNC(void) PySys_SetArgv(int, wchar_t **);
0011 Py_DEPRECATED(3.11) PyAPI_FUNC(void) PySys_SetArgvEx(int, wchar_t **, int);
0012 
0013 PyAPI_FUNC(void) PySys_WriteStdout(const char *format, ...)
0014                  Py_GCC_ATTRIBUTE((format(printf, 1, 2)));
0015 PyAPI_FUNC(void) PySys_WriteStderr(const char *format, ...)
0016                  Py_GCC_ATTRIBUTE((format(printf, 1, 2)));
0017 PyAPI_FUNC(void) PySys_FormatStdout(const char *format, ...);
0018 PyAPI_FUNC(void) PySys_FormatStderr(const char *format, ...);
0019 
0020 Py_DEPRECATED(3.13) PyAPI_FUNC(void) PySys_ResetWarnOptions(void);
0021 
0022 PyAPI_FUNC(PyObject *) PySys_GetXOptions(void);
0023 
0024 #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d0000
0025 PyAPI_FUNC(int) PySys_Audit(
0026     const char *event,
0027     const char *argFormat,
0028     ...);
0029 
0030 PyAPI_FUNC(int) PySys_AuditTuple(
0031     const char *event,
0032     PyObject *args);
0033 #endif
0034 
0035 #ifndef Py_LIMITED_API
0036 #  define Py_CPYTHON_SYSMODULE_H
0037 #  include "cpython/sysmodule.h"
0038 #  undef Py_CPYTHON_SYSMODULE_H
0039 #endif
0040 
0041 #ifdef __cplusplus
0042 }
0043 #endif
0044 #endif /* !Py_SYSMODULE_H */