Merged revisions 71627 via svnmerge from
[python/dscho.git] / Include / sysmodule.h
blobeeb8619df98987bbd0e1bef27985fd14b33713e6
2 /* System module interface */
4 #ifndef Py_SYSMODULE_H
5 #define Py_SYSMODULE_H
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
10 PyAPI_FUNC(PyObject *) PySys_GetObject(const char *);
11 PyAPI_FUNC(int) PySys_SetObject(const char *, PyObject *);
12 PyAPI_FUNC(void) PySys_SetArgv(int, wchar_t **);
13 PyAPI_FUNC(void) PySys_SetPath(const wchar_t *);
15 PyAPI_FUNC(void) PySys_WriteStdout(const char *format, ...)
16 Py_GCC_ATTRIBUTE((format(printf, 1, 2)));
17 PyAPI_FUNC(void) PySys_WriteStderr(const char *format, ...)
18 Py_GCC_ATTRIBUTE((format(printf, 1, 2)));
20 PyAPI_DATA(PyObject *) _PySys_TraceFunc, *_PySys_ProfileFunc;
21 PyAPI_DATA(int) _PySys_CheckInterval;
23 PyAPI_FUNC(void) PySys_ResetWarnOptions(void);
24 PyAPI_FUNC(void) PySys_AddWarnOption(const wchar_t *);
25 PyAPI_FUNC(int) PySys_HasWarnOptions(void);
27 #ifdef __cplusplus
29 #endif
30 #endif /* !Py_SYSMODULE_H */