diff options
author | Benjamin Peterson <benjamin@python.org> | 2013-03-13 19:06:39 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2013-03-13 19:06:39 (GMT) |
commit | 7701e6ef93be47b6d9646321ff95530653097d68 (patch) | |
tree | ff3b21ece3419a59035ce91526f022a4c45b915c /Include | |
parent | 327992330e13cd6663faa8400f9ff46daab828b0 (diff) | |
download | cpython-7701e6ef93be47b6d9646321ff95530653097d68.zip cpython-7701e6ef93be47b6d9646321ff95530653097d68.tar.gz cpython-7701e6ef93be47b6d9646321ff95530653097d68.tar.bz2 |
make some freezing related stuff const
Diffstat (limited to 'Include')
-rw-r--r-- | Include/import.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/import.h b/Include/import.h index fdc2733..90049e0 100644 --- a/Include/import.h +++ b/Include/import.h @@ -113,15 +113,15 @@ PyAPI_FUNC(int) PyImport_AppendInittab( #ifndef Py_LIMITED_API struct _frozen { - char *name; /* ASCII encoded string */ - unsigned char *code; + const char *name; /* ASCII encoded string */ + const unsigned char *code; int size; }; /* Embedding apps may change this pointer to point to their favorite collection of frozen modules: */ -PyAPI_DATA(struct _frozen *) PyImport_FrozenModules; +PyAPI_DATA(const struct _frozen *) PyImport_FrozenModules; #endif #ifdef __cplusplus |