Mercurial > cpython-lru_cache-weakref
diff 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 |
line wrap: on
line diff
--- a/Include/pythonrun.h Sat Dec 04 11:52:58 2010 +0000 +++ b/Include/pythonrun.h Sat Dec 04 12:00:49 2010 +0000 @@ -74,7 +74,7 @@ #endif #ifdef Py_LIMITED_API -PyAPI_FUNC(PyObject *) Py_CompileStringFlags(const char *, const char *, int); +PyAPI_FUNC(PyObject *) Py_CompileString(const char *, const char *, int); #else #define Py_CompileString(str, p, s) Py_CompileStringExFlags(str, p, s, NULL, -1) #define Py_CompileStringFlags(str, p, s, f) Py_CompileStringExFlags(str, p, s, f, -1)
