- Notifications
You must be signed in to change notification settings - Fork 31.7k
/
Copy pathsysmodule.h
27 lines (21 loc) · 883 Bytes
/
sysmodule.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndefPy_SYSMODULE_H
#definePy_SYSMODULE_H
#ifdef__cplusplus
extern"C" {
#endif
PyAPI_FUNC(PyObject*) PySys_GetObject(constchar*);
PyAPI_FUNC(int) PySys_SetObject(constchar*, PyObject*);
Py_DEPRECATED(3.11) PyAPI_FUNC(void) PySys_SetArgv(int, wchar_t**);
Py_DEPRECATED(3.11) PyAPI_FUNC(void) PySys_SetArgvEx(int, wchar_t**, int);
PyAPI_FUNC(void) PySys_WriteStdout(constchar*format, ...)
Py_GCC_ATTRIBUTE((format(printf, 1, 2)));
PyAPI_FUNC(void) PySys_WriteStderr(constchar*format, ...)
Py_GCC_ATTRIBUTE((format(printf, 1, 2)));
PyAPI_FUNC(void) PySys_FormatStdout(constchar*format, ...);
PyAPI_FUNC(void) PySys_FormatStderr(constchar*format, ...);
Py_DEPRECATED(3.13) PyAPI_FUNC(void) PySys_ResetWarnOptions(void);
PyAPI_FUNC(PyObject*) PySys_GetXOptions(void);
#ifdef__cplusplus
}
#endif
#endif/* !Py_SYSMODULE_H */