python-2.7.6/include/sysmodule.h Source File
Main Page
Topics
Modules
Namespaces
Classes
Files
Examples
File List
File Members
sysmodule.h
Go to the documentation of this file.
1
2
/* System module interface */
3
4
#ifndef Py_SYSMODULE_H
5
#define Py_SYSMODULE_H
6
#ifdef __cplusplus
7
extern
"C"
{
8
#endif
9
10
PyAPI_FUNC
(
PyObject
*) PySys_GetObject(
char
*);
11
PyAPI_FUNC
(
int
) PySys_SetObject(
char
*,
PyObject
*);
12
PyAPI_FUNC
(
FILE
*) PySys_GetFile(
char
*,
FILE
*);
13
PyAPI_FUNC
(
void
) PySys_SetArgv(
int
,
char
**);
14
PyAPI_FUNC
(
void
) PySys_SetArgvEx(
int
,
char
**,
int
);
15
PyAPI_FUNC
(
void
) PySys_SetPath(
char
*);
16
17
PyAPI_FUNC
(
void
)
PySys_WriteStdout
(const
char
*
format
, ...)
18
Py_GCC_ATTRIBUTE
((format(printf, 1, 2)));
19
PyAPI_FUNC
(
void
)
PySys_WriteStderr
(const
char
*format, ...)
20
Py_GCC_ATTRIBUTE
((format(printf, 1, 2)));
21
22
PyAPI_FUNC
(
void
) PySys_ResetWarnOptions(
void
);
23
PyAPI_FUNC
(
void
) PySys_AddWarnOption(
char
*);
24
PyAPI_FUNC
(
int
) PySys_HasWarnOptions(
void
);
25
26
#ifdef __cplusplus
27
}
28
#endif
29
#endif
/* !Py_SYSMODULE_H */
Py_GCC_ATTRIBUTE
Py_GCC_ATTRIBUTE((format(printf, 1, 2)))
PyAPI_FUNC
PyAPI_FUNC(PyObject *) PySys_GetObject(char *)
PySys_WriteStdout
void PySys_WriteStdout(const char *format,...)
FILE
char char int FILE
Definition:
fileobject.h:45
_object
Definition:
object.h:106
format
char * format
Definition:
abstract.h:327
PySys_WriteStderr
void PySys_WriteStderr(const char *format,...)