diff options
| author | Martin v. Löwis <martin@v.loewis.de> | 2010-12-04 12:00:49 +0000 |
|---|---|---|
| committer | Martin v. Löwis <martin@v.loewis.de> | 2010-12-04 12:00:49 +0000 |
| commit | ea048b6fe13192022847d7e4f01d1f735b7d3804 (patch) | |
| tree | f79fe17c94efe92d7f9c604d79dc6032d41ae8de /Include/pythonrun.h | |
| parent | e81a33864d723aecf9a378d39388d013fec286c2 (diff) | |
| download | cpython-ea048b6fe13192022847d7e4f01d1f735b7d3804.tar.gz | |
Expose CompileString, not CompileStringFlags under the
limited API.
Diffstat (limited to 'Include/pythonrun.h')
| -rw-r--r-- | Include/pythonrun.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/pythonrun.h b/Include/pythonrun.h index 4eae54922e..f290687b0a 100644 --- a/Include/pythonrun.h +++ b/Include/pythonrun.h @@ -74,7 +74,7 @@ PyAPI_FUNC(PyObject *) PyRun_FileExFlags(FILE *, const char *, int, #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) |
