mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Expose CompileString, not CompileStringFlags under the
limited API.
This commit is contained in:
parent
66f2623fb2
commit
0d012f284b
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue