Mercurial > cpython-lru_cache-weakref
diff Include/moduleobject.h @ 42845:3152df70517a
Get rid of more uses of string and use const in a few places.
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Sun, 26 Aug 2007 02:21:42 +0000 |
| parents | e70cdce0e8b2 |
| children | 86a2679dca46 |
line wrap: on
line diff
--- a/Include/moduleobject.h Sun Aug 26 02:06:15 2007 +0000 +++ b/Include/moduleobject.h Sun Aug 26 02:21:42 2007 +0000 @@ -14,8 +14,8 @@ 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
