]> granicus.if.org Git - python/commitdiff
Expose CompileString, not CompileStringFlags under the
authorMartin v. Löwis <martin@v.loewis.de>
Sat, 4 Dec 2010 12:00:49 +0000 (12:00 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sat, 4 Dec 2010 12:00:49 +0000 (12:00 +0000)
limited API.

Include/pythonrun.h
PC/python3.def

index 4eae54922e5070b811ebc43b9b928e3793def994..f290687b0a4c514e982e48860ab8487d3b982c7b 100644 (file)
@@ -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)
index 082d428e4cebdff17599b415a1304dc0110189e5..54ad149f219314606f1a6428d18a468a41886701 100644 (file)
@@ -632,7 +632,7 @@ EXPORTS
   Py_AddPendingCall=python32.Py_AddPendingCall\r
   Py_AtExit=python32.Py_AtExit\r
   Py_BuildValue=python32.Py_BuildValue\r
-  Py_CompileStringFlags=python32.Py_CompileStringFlags\r
+  Py_CompileString=python32.Py_CompileString\r
   Py_DecRef=python32.Py_DecRef\r
   Py_EndInterpreter=python32.Py_EndInterpreter\r
   Py_Exit=python32.Py_Exit\r