diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2010-12-04 12:00:49 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2010-12-04 12:00:49 (GMT) |
commit | 0d012f284be829c6217f60523db0e1671b7db9d9 (patch) | |
tree | 672dd554eeb1c04b6665ccd1dd154e1d059e46dd | |
parent | 66f2623fb26011ff18ae6b6f6076d9d9a9b7636e (diff) | |
download | cpython-0d012f284be829c6217f60523db0e1671b7db9d9.zip cpython-0d012f284be829c6217f60523db0e1671b7db9d9.tar.gz cpython-0d012f284be829c6217f60523db0e1671b7db9d9.tar.bz2 |
Expose CompileString, not CompileStringFlags under the
limited API.
-rw-r--r-- | Include/pythonrun.h | 2 | ||||
-rw-r--r-- | PC/python3.def | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Include/pythonrun.h b/Include/pythonrun.h index 4eae549..f290687 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) diff --git a/PC/python3.def b/PC/python3.def index 082d428..54ad149 100644 --- a/PC/python3.def +++ b/PC/python3.def @@ -632,7 +632,7 @@ EXPORTS Py_AddPendingCall=python32.Py_AddPendingCall
Py_AtExit=python32.Py_AtExit
Py_BuildValue=python32.Py_BuildValue
- Py_CompileStringFlags=python32.Py_CompileStringFlags
+ Py_CompileString=python32.Py_CompileString
Py_DecRef=python32.Py_DecRef
Py_EndInterpreter=python32.Py_EndInterpreter
Py_Exit=python32.Py_Exit
|