PageRenderTime 19ms CodeModel.GetById 14ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/Include/sysmodule.h

http://unladen-swallow.googlecode.com/
C++ Header | 31 lines | 23 code | 7 blank | 1 comment | 0 complexity | 0ee36d63afd7b59594cf1f3c6de8db6c MD5 | raw file
 1
 2/* System module interface */
 3
 4#ifndef Py_SYSMODULE_H
 5#define Py_SYSMODULE_H
 6#ifdef __cplusplus
 7extern "C" {
 8#endif
 9
10PyAPI_FUNC(PyObject *) PySys_GetObject(char *);
11PyAPI_FUNC(int) PySys_SetObject(char *, PyObject *);
12PyAPI_FUNC(FILE *) PySys_GetFile(char *, FILE *);
13PyAPI_FUNC(void) PySys_SetArgv(int, char **);
14PyAPI_FUNC(void) PySys_SetPath(char *);
15
16PyAPI_FUNC(void) PySys_WriteStdout(const char *format, ...)
17			Py_GCC_ATTRIBUTE((format(printf, 1, 2)));
18PyAPI_FUNC(void) PySys_WriteStderr(const char *format, ...)
19			Py_GCC_ATTRIBUTE((format(printf, 1, 2)));
20
21PyAPI_DATA(PyObject *) _PySys_TraceFunc, *_PySys_ProfileFunc;
22PyAPI_DATA(int) _PySys_CheckInterval;
23
24PyAPI_FUNC(void) PySys_ResetWarnOptions(void);
25PyAPI_FUNC(void) PySys_AddWarnOption(char *);
26PyAPI_FUNC(int) PySys_HasWarnOptions(void);
27
28#ifdef __cplusplus
29}
30#endif
31#endif /* !Py_SYSMODULE_H */