From 0813168e942a81c03727ef4785dceb642b959f20 Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Sun, 3 Jun 2012 08:07:47 +0300 Subject: Issue #14090: fix some minor C API problems in default branch (3.3) --- Include/pythonrun.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Include/pythonrun.h') diff --git a/Include/pythonrun.h b/Include/pythonrun.h index 48e39a4522..e5620ee326 100644 --- a/Include/pythonrun.h +++ b/Include/pythonrun.h @@ -82,9 +82,12 @@ PyAPI_FUNC(struct _mod *) PyParser_ASTFromFile( PyParser_SimpleParseFileFlags(FP, S, B, 0) #endif PyAPI_FUNC(struct _node *) PyParser_SimpleParseStringFlags(const char *, int, - int); + int); +PyAPI_FUNC(struct _node *) PyParser_SimpleParseStringFlagsFilename(const char *, + const char *, + int, int); PyAPI_FUNC(struct _node *) PyParser_SimpleParseFileFlags(FILE *, const char *, - int, int); + int, int); #ifndef Py_LIMITED_API PyAPI_FUNC(PyObject *) PyRun_StringFlags(const char *, int, PyObject *, -- cgit v1.2.1