summaryrefslogtreecommitdiff
path: root/Include/marshal.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-10-19 21:03:34 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2013-10-19 21:03:34 +0300
commit6e75c19396402b107f1dfffa8746c6b8b679a9a4 (patch)
treedeb6036092faf8a0659406cbed73724928202dcd /Include/marshal.h
parent75e7239170da646e00c00e92845d3549781818ea (diff)
downloadcpython-6e75c19396402b107f1dfffa8746c6b8b679a9a4.tar.gz
Issue #1772673: The type of `char*` arguments now changed to `const char*`.
Diffstat (limited to 'Include/marshal.h')
-rw-r--r--Include/marshal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Include/marshal.h b/Include/marshal.h
index 77d9c5eec3..09d9337e57 100644
--- a/Include/marshal.h
+++ b/Include/marshal.h
@@ -19,7 +19,8 @@ PyAPI_FUNC(int) PyMarshal_ReadShortFromFile(FILE *);
PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromFile(FILE *);
PyAPI_FUNC(PyObject *) PyMarshal_ReadLastObjectFromFile(FILE *);
#endif
-PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromString(char *, Py_ssize_t);
+PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromString(const char *,
+ Py_ssize_t);
#ifdef __cplusplus
}