Commit ea048b6f authored by Martin v. Löwis's avatar Martin v. Löwis

Expose CompileString, not CompileStringFlags under the

limited API.
parent e81a3386
...@@ -74,7 +74,7 @@ PyAPI_FUNC(PyObject *) PyRun_FileExFlags(FILE *, const char *, int, ...@@ -74,7 +74,7 @@ PyAPI_FUNC(PyObject *) PyRun_FileExFlags(FILE *, const char *, int,
#endif #endif
#ifdef Py_LIMITED_API #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 #else
#define Py_CompileString(str, p, s) Py_CompileStringExFlags(str, p, s, NULL, -1) #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) #define Py_CompileStringFlags(str, p, s, f) Py_CompileStringExFlags(str, p, s, f, -1)
......
...@@ -632,7 +632,7 @@ EXPORTS ...@@ -632,7 +632,7 @@ EXPORTS
Py_AddPendingCall=python32.Py_AddPendingCall Py_AddPendingCall=python32.Py_AddPendingCall
Py_AtExit=python32.Py_AtExit Py_AtExit=python32.Py_AtExit
Py_BuildValue=python32.Py_BuildValue Py_BuildValue=python32.Py_BuildValue
Py_CompileStringFlags=python32.Py_CompileStringFlags Py_CompileString=python32.Py_CompileString
Py_DecRef=python32.Py_DecRef Py_DecRef=python32.Py_DecRef
Py_EndInterpreter=python32.Py_EndInterpreter Py_EndInterpreter=python32.Py_EndInterpreter
Py_Exit=python32.Py_Exit Py_Exit=python32.Py_Exit
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment