summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-08-26 02:21:42 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-08-26 02:21:42 (GMT)
commit312e10d63eaface69dbe3e4271545cb9c4429bed (patch)
tree896923c6b71e71a7a7150e9be0b4c1b2fc5b63a4 /Include
parenta9ea3d97782749ca522f58e699f2d09bd590109f (diff)
downloadcpython-312e10d63eaface69dbe3e4271545cb9c4429bed.zip
cpython-312e10d63eaface69dbe3e4271545cb9c4429bed.tar.gz
cpython-312e10d63eaface69dbe3e4271545cb9c4429bed.tar.bz2
Get rid of more uses of string and use const in a few places.
Diffstat (limited to 'Include')
-rw-r--r--Include/moduleobject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/moduleobject.h b/Include/moduleobject.h
index c43cb93..f50c729 100644
--- a/Include/moduleobject.h
+++ b/Include/moduleobject.h
@@ -14,8 +14,8 @@ PyAPI_DATA(PyTypeObject) PyModule_Type;
PyAPI_FUNC(PyObject *) PyModule_New(const char *);
PyAPI_FUNC(PyObject *) PyModule_GetDict(PyObject *);
-PyAPI_FUNC(char *) PyModule_GetName(PyObject *);
-PyAPI_FUNC(char *) PyModule_GetFilename(PyObject *);
+PyAPI_FUNC(const char *) PyModule_GetName(PyObject *);
+PyAPI_FUNC(const char *) PyModule_GetFilename(PyObject *);
PyAPI_FUNC(void) _PyModule_Clear(PyObject *);
#ifdef __cplusplus