40
40
PyAPI_FUNC(int) PyRun_InteractiveOneFlags(FILE *, const char *, PyCompilerFlags *);
41
41
PyAPI_FUNC(int) PyRun_InteractiveLoopFlags(FILE *, const char *, PyCompilerFlags *);
43
PyAPI_FUNC(struct _mod *) PyParser_ASTFromString(const char *, const char *,
44
int, PyCompilerFlags *flags,
43
PyAPI_FUNC(struct _mod *) PyParser_ASTFromString(const char *, const char *,
44
int, PyCompilerFlags *flags,
46
PyAPI_FUNC(struct _mod *) PyParser_ASTFromFile(FILE *, const char *,
46
PyAPI_FUNC(struct _mod *) PyParser_ASTFromFile(FILE *, const char *,
49
49
PyCompilerFlags *, int *,
51
51
#define PyParser_SimpleParseString(S, B) \
52
PyParser_SimpleParseStringFlags(S, B, 0)
52
PyParser_SimpleParseStringFlags(S, B, 0)
53
53
#define PyParser_SimpleParseFile(FP, S, B) \
54
PyParser_SimpleParseFileFlags(FP, S, B, 0)
55
PyAPI_FUNC(struct _node *) PyParser_SimpleParseStringFlags(const char *, int,
54
PyParser_SimpleParseFileFlags(FP, S, B, 0)
55
PyAPI_FUNC(struct _node *) PyParser_SimpleParseStringFlags(const char *, int,
57
57
PyAPI_FUNC(struct _node *) PyParser_SimpleParseFileFlags(FILE *, const char *,
60
PyAPI_FUNC(PyObject *) PyRun_StringFlags(const char *, int, PyObject *,
61
PyObject *, PyCompilerFlags *);
63
PyAPI_FUNC(PyObject *) PyRun_FileExFlags(FILE *, const char *, int,
64
PyObject *, PyObject *, int,
60
PyAPI_FUNC(PyObject *) PyRun_StringFlags(const char *, int, PyObject *,
61
PyObject *, PyCompilerFlags *);
63
PyAPI_FUNC(PyObject *) PyRun_FileExFlags(FILE *, const char *, int,
64
PyObject *, PyObject *, int,
67
67
#define Py_CompileString(str, p, s) Py_CompileStringFlags(str, p, s, NULL)
68
68
PyAPI_FUNC(PyObject *) Py_CompileStringFlags(const char *, const char *, int,
70
70
PyAPI_FUNC(struct symtable *) Py_SymtableString(const char *, const char *, int);
72
72
PyAPI_FUNC(void) PyErr_Print(void);
90
90
#define PyRun_String(str, s, g, l) PyRun_StringFlags(str, s, g, l, NULL)
91
91
#define PyRun_AnyFile(fp, name) PyRun_AnyFileExFlags(fp, name, 0, NULL)
92
92
#define PyRun_AnyFileEx(fp, name, closeit) \
93
PyRun_AnyFileExFlags(fp, name, closeit, NULL)
93
PyRun_AnyFileExFlags(fp, name, closeit, NULL)
94
94
#define PyRun_AnyFileFlags(fp, name, flags) \
95
PyRun_AnyFileExFlags(fp, name, 0, flags)
95
PyRun_AnyFileExFlags(fp, name, 0, flags)
96
96
#define PyRun_SimpleString(s) PyRun_SimpleStringFlags(s, NULL)
97
97
#define PyRun_SimpleFile(f, p) PyRun_SimpleFileExFlags(f, p, 0, NULL)
98
98
#define PyRun_SimpleFileEx(f, p, c) PyRun_SimpleFileExFlags(f, p, c, NULL)
99
99
#define PyRun_InteractiveOne(f, p) PyRun_InteractiveOneFlags(f, p, NULL)
100
100
#define PyRun_InteractiveLoop(f, p) PyRun_InteractiveLoopFlags(f, p, NULL)
101
101
#define PyRun_File(fp, p, s, g, l) \
102
PyRun_FileExFlags(fp, p, s, g, l, 0, NULL)
102
PyRun_FileExFlags(fp, p, s, g, l, 0, NULL)
103
103
#define PyRun_FileEx(fp, p, s, g, l, c) \
104
PyRun_FileExFlags(fp, p, s, g, l, c, NULL)
104
PyRun_FileExFlags(fp, p, s, g, l, c, NULL)
105
105
#define PyRun_FileFlags(fp, p, s, g, l, flags) \
106
PyRun_FileExFlags(fp, p, s, g, l, 0, flags)
106
PyRun_FileExFlags(fp, p, s, g, l, 0, flags)
108
108
/* In getpath.c */
109
109
PyAPI_FUNC(wchar_t *) Py_GetProgramFullPath(void);