]> git.proxmox.com Git - mirror_edk2.git/blame - AppPkg/Applications/Python/Python-2.7.10/Include/sysmodule.h
EmbeddedPkg: Extend NvVarStoreFormattedLib LIBRARY_CLASS
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.10 / Include / sysmodule.h
CommitLineData
c8042e10
DM
1\r
2/* System module interface */\r
3\r
4#ifndef Py_SYSMODULE_H\r
5#define Py_SYSMODULE_H\r
6#ifdef __cplusplus\r
7extern "C" {\r
8#endif\r
9\r
10PyAPI_FUNC(PyObject *) PySys_GetObject(char *);\r
11PyAPI_FUNC(int) PySys_SetObject(char *, PyObject *);\r
12PyAPI_FUNC(FILE *) PySys_GetFile(char *, FILE *);\r
13PyAPI_FUNC(void) PySys_SetArgv(int, char **);\r
14PyAPI_FUNC(void) PySys_SetArgvEx(int, char **, int);\r
15PyAPI_FUNC(void) PySys_SetPath(char *);\r
16\r
17PyAPI_FUNC(void) PySys_WriteStdout(const char *format, ...)\r
18 Py_GCC_ATTRIBUTE((format(printf, 1, 2)));\r
19PyAPI_FUNC(void) PySys_WriteStderr(const char *format, ...)\r
20 Py_GCC_ATTRIBUTE((format(printf, 1, 2)));\r
21\r
22PyAPI_FUNC(void) PySys_ResetWarnOptions(void);\r
23PyAPI_FUNC(void) PySys_AddWarnOption(char *);\r
24PyAPI_FUNC(int) PySys_HasWarnOptions(void);\r
25\r
26PyAPI_FUNC(size_t) _PySys_GetSizeOf(PyObject *);\r
27\r
28#ifdef __cplusplus\r
29}\r
30#endif\r
31#endif /* !Py_SYSMODULE_H */\r