summaryrefslogtreecommitdiffstats
path: root/Include/compile.h
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-12-11 14:04:59 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-12-11 14:04:59 (GMT)
commit95292d6caa3af3196c5b9f5f95dae209815c09e5 (patch)
tree193e6e6a45f1e1319e4bb4ba07a3fee838a2ca5d /Include/compile.h
parent0e88c9f65d163c0c8551d0f079a19b71a8a9e3ca (diff)
downloadcpython-95292d6caa3af3196c5b9f5f95dae209815c09e5.zip
cpython-95292d6caa3af3196c5b9f5f95dae209815c09e5.tar.gz
cpython-95292d6caa3af3196c5b9f5f95dae209815c09e5.tar.bz2
Constify filenames and scripts. Fixes #651362.
Diffstat (limited to 'Include/compile.h')
-rw-r--r--Include/compile.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/compile.h b/Include/compile.h
index a4b2f55..a462d77 100644
--- a/Include/compile.h
+++ b/Include/compile.h
@@ -52,7 +52,7 @@ PyAPI_DATA(PyTypeObject) PyCode_Type;
/* Public interface */
struct _node; /* Declare the existence of this type */
-PyAPI_FUNC(PyCodeObject *) PyNode_Compile(struct _node *, char *);
+PyAPI_FUNC(PyCodeObject *) PyNode_Compile(struct _node *, const char *);
PyAPI_FUNC(PyCodeObject *) PyCode_New(
int, int, int, int, PyObject *, PyObject *, PyObject *, PyObject *,
PyObject *, PyObject *, PyObject *, PyObject *, int, PyObject *);
@@ -67,8 +67,8 @@ typedef struct {
int ff_features;
} PyFutureFeatures;
-PyAPI_FUNC(PyFutureFeatures *) PyNode_Future(struct _node *, char *);
-PyAPI_FUNC(PyCodeObject *) PyNode_CompileFlags(struct _node *, char *,
+PyAPI_FUNC(PyFutureFeatures *) PyNode_Future(struct _node *, const char *);
+PyAPI_FUNC(PyCodeObject *) PyNode_CompileFlags(struct _node *, const char *,
PyCompilerFlags *);
#define FUTURE_NESTED_SCOPES "nested_scopes"