Use full package paths in imports.
[python/dscho.git] / Include / sysmodule.h
blobca6b6d78982732264a1b7aaeb4d2b540df3e1339
2 /* System module interface */
4 #ifndef Py_SYSMODULE_H
5 #define Py_SYSMODULE_H
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
10 DL_IMPORT(PyObject *) PySys_GetObject(char *);
11 DL_IMPORT(int) PySys_SetObject(char *, PyObject *);
12 DL_IMPORT(FILE *) PySys_GetFile(char *, FILE *);
13 DL_IMPORT(void) PySys_SetArgv(int, char **);
14 DL_IMPORT(void) PySys_SetPath(char *);
16 DL_IMPORT(void) PySys_WriteStdout(const char *format, ...)
17 __attribute__((format(printf, 1, 2)));
18 DL_IMPORT(void) PySys_WriteStderr(const char *format, ...)
19 __attribute__((format(printf, 1, 2)));
21 extern DL_IMPORT(PyObject *) _PySys_TraceFunc, *_PySys_ProfileFunc;
22 extern DL_IMPORT(int) _PySys_CheckInterval;
24 DL_IMPORT(void) PySys_ResetWarnOptions(void);
25 DL_IMPORT(void) PySys_AddWarnOption(char *);
27 #ifdef __cplusplus
29 #endif
30 #endif /* !Py_SYSMODULE_H */