summaryrefslogtreecommitdiffstats
path: root/Include/pythonrun.h
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-03-01 16:55:42 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-03-01 16:55:42 (GMT)
commit056a69cba6c6249b12ceffb7f00c324f5a8f16d4 (patch)
tree5d5a5b96fc65032716e6713b9c706bd31b281b38 /Include/pythonrun.h
parentc9066cafbae56842f19217efcc712519763b52ff (diff)
downloadcpython-056a69cba6c6249b12ceffb7f00c324f5a8f16d4.zip
cpython-056a69cba6c6249b12ceffb7f00c324f5a8f16d4.tar.gz
cpython-056a69cba6c6249b12ceffb7f00c324f5a8f16d4.tar.bz2
Reconst parameters that lost their const in the AST merge.
Diffstat (limited to 'Include/pythonrun.h')
-rw-r--r--Include/pythonrun.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/pythonrun.h b/Include/pythonrun.h
index feb79ae..1ecb3d7 100644
--- a/Include/pythonrun.h
+++ b/Include/pythonrun.h
@@ -31,8 +31,8 @@ PyAPI_FUNC(int) Py_IsInitialized(void);
PyAPI_FUNC(PyThreadState *) Py_NewInterpreter(void);
PyAPI_FUNC(void) Py_EndInterpreter(PyThreadState *);
-PyAPI_FUNC(int) PyRun_AnyFileFlags(FILE *, char *, PyCompilerFlags *);
-PyAPI_FUNC(int) PyRun_AnyFileExFlags(FILE *, char *, int, PyCompilerFlags *);
+PyAPI_FUNC(int) PyRun_AnyFileFlags(FILE *, const char *, PyCompilerFlags *);
+PyAPI_FUNC(int) PyRun_AnyFileExFlags(FILE *, const char *, int, PyCompilerFlags *);
PyAPI_FUNC(int) PyRun_SimpleStringFlags(const char *, PyCompilerFlags *);
PyAPI_FUNC(int) PyRun_SimpleFileExFlags(FILE *, const char *, int, PyCompilerFlags *);
PyAPI_FUNC(int) PyRun_InteractiveOneFlags(FILE *, const char *, PyCompilerFlags *);