summaryrefslogtreecommitdiffstats
path: root/Include/pythonrun.h
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2010-12-04 12:00:49 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2010-12-04 12:00:49 (GMT)
commit0d012f284be829c6217f60523db0e1671b7db9d9 (patch)
tree672dd554eeb1c04b6665ccd1dd154e1d059e46dd /Include/pythonrun.h
parent66f2623fb26011ff18ae6b6f6076d9d9a9b7636e (diff)
downloadcpython-0d012f284be829c6217f60523db0e1671b7db9d9.zip
cpython-0d012f284be829c6217f60523db0e1671b7db9d9.tar.gz
cpython-0d012f284be829c6217f60523db0e1671b7db9d9.tar.bz2
Expose CompileString, not CompileStringFlags under the
limited API.
Diffstat (limited to 'Include/pythonrun.h')
-rw-r--r--Include/pythonrun.h2
1 files changed, 1 insertions, 1 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)