@@ -66,8 +66,8 @@ PyAPI_FUNC(PyObject *) Py_CompileStringObject(
66
66
PyCompilerFlags * flags ,
67
67
int optimize );
68
68
69
- #define Py_CompileString (str , p , s ) Py_CompileStringExFlags(str, p, s , NULL, -1)
70
- #define Py_CompileStringFlags (str , p , s , f ) Py_CompileStringExFlags(str, p, s, f , -1)
69
+ #define Py_CompileString (str , p , s ) Py_CompileStringExFlags(( str), (p), (s) , NULL, -1)
70
+ #define Py_CompileStringFlags (str , p , s , f ) Py_CompileStringExFlags(( str), (p), (s), (f) , -1)
71
71
72
72
73
73
PyAPI_FUNC (const char * ) _Py_SourceAsString (
@@ -96,23 +96,23 @@ PyAPI_FUNC(PyObject *) PyRun_FileEx(FILE *fp, const char *p, int s, PyObject *g,
96
96
PyAPI_FUNC (PyObject * ) PyRun_FileFlags (FILE * fp , const char * p , int s , PyObject * g , PyObject * l , PyCompilerFlags * flags );
97
97
98
98
/* Use macros for a bunch of old variants */
99
- #define PyRun_String (str , s , g , l ) PyRun_StringFlags(str, s, g, l , NULL)
100
- #define PyRun_AnyFile (fp , name ) PyRun_AnyFileExFlags(fp, name, 0, NULL)
99
+ #define PyRun_String (str , s , g , l ) PyRun_StringFlags(( str), (s), (g), (l) , NULL)
100
+ #define PyRun_AnyFile (fp , name ) PyRun_AnyFileExFlags((fp), ( name) , 0, NULL)
101
101
#define PyRun_AnyFileEx (fp , name , closeit ) \
102
- PyRun_AnyFileExFlags(fp, name, closeit, NULL)
102
+ PyRun_AnyFileExFlags((fp), ( name), ( closeit) , NULL)
103
103
#define PyRun_AnyFileFlags (fp , name , flags ) \
104
- PyRun_AnyFileExFlags(fp, name, 0, flags)
105
- #define PyRun_SimpleString (s ) PyRun_SimpleStringFlags(s , NULL)
106
- #define PyRun_SimpleFile (f , p ) PyRun_SimpleFileExFlags(f, p , 0, NULL)
107
- #define PyRun_SimpleFileEx (f , p , c ) PyRun_SimpleFileExFlags(f, p, c , NULL)
108
- #define PyRun_InteractiveOne (f , p ) PyRun_InteractiveOneFlags(f, p , NULL)
109
- #define PyRun_InteractiveLoop (f , p ) PyRun_InteractiveLoopFlags(f, p , NULL)
104
+ PyRun_AnyFileExFlags((fp), ( name) , 0, ( flags) )
105
+ #define PyRun_SimpleString (s ) PyRun_SimpleStringFlags((s) , NULL)
106
+ #define PyRun_SimpleFile (f , p ) PyRun_SimpleFileExFlags((f), (p) , 0, NULL)
107
+ #define PyRun_SimpleFileEx (f , p , c ) PyRun_SimpleFileExFlags((f), (p), (c) , NULL)
108
+ #define PyRun_InteractiveOne (f , p ) PyRun_InteractiveOneFlags((f), (p) , NULL)
109
+ #define PyRun_InteractiveLoop (f , p ) PyRun_InteractiveLoopFlags((f), (p) , NULL)
110
110
#define PyRun_File (fp , p , s , g , l ) \
111
- PyRun_FileExFlags(fp, p, s, g, l , 0, NULL)
111
+ PyRun_FileExFlags((fp), (p), (s), (g), (l) , 0, NULL)
112
112
#define PyRun_FileEx (fp , p , s , g , l , c ) \
113
- PyRun_FileExFlags(fp, p, s, g, l, c , NULL)
113
+ PyRun_FileExFlags((fp), (p), (s), (g), (l), (c) , NULL)
114
114
#define PyRun_FileFlags (fp , p , s , g , l , flags ) \
115
- PyRun_FileExFlags(fp, p, s, g, l , 0, flags)
115
+ PyRun_FileExFlags((fp), (p), (s), (g), (l) , 0, ( flags) )
116
116
117
117
118
118
/* Stuff with no proper home (yet) */
0 commit comments