comparison Include/pythonrun.h @ 66696:bede83e20853

Expose CompileString, not CompileStringFlags under the limited API.
author Martin v. Löwis <martin@v.loewis.de>
date Sat, 04 Dec 2010 12:00:49 +0000
parents 713c6b6ca5ce
children 66d8446a019b
comparison
equal deleted inserted replaced
66695:8cabcf4f9033 66696:bede83e20853
72 PyObject *, PyObject *, int, 72 PyObject *, PyObject *, int,
73 PyCompilerFlags *); 73 PyCompilerFlags *);
74 #endif 74 #endif
75 75
76 #ifdef Py_LIMITED_API 76 #ifdef Py_LIMITED_API
77 PyAPI_FUNC(PyObject *) Py_CompileStringFlags(const char *, const char *, int); 77 PyAPI_FUNC(PyObject *) Py_CompileString(const char *, const char *, int);
78 #else 78 #else
79 #define Py_CompileString(str, p, s) Py_CompileStringExFlags(str, p, s, NULL, -1) 79 #define Py_CompileString(str, p, s) Py_CompileStringExFlags(str, p, s, NULL, -1)
80 #define Py_CompileStringFlags(str, p, s, f) Py_CompileStringExFlags(str, p, s, f, -1) 80 #define Py_CompileStringFlags(str, p, s, f) Py_CompileStringExFlags(str, p, s, f, -1)
81 PyAPI_FUNC(PyObject *) Py_CompileStringExFlags(const char *, const char *, int, 81 PyAPI_FUNC(PyObject *) Py_CompileStringExFlags(const char *, const char *, int,
82 PyCompilerFlags *, int); 82 PyCompilerFlags *, int);