summaryrefslogtreecommitdiff
path: root/Include/structseq.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/structseq.h')
-rw-r--r--Include/structseq.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Include/structseq.h b/Include/structseq.h
index af227164c8..e5e5d5c573 100644
--- a/Include/structseq.h
+++ b/Include/structseq.h
@@ -8,13 +8,13 @@ extern "C" {
#endif
typedef struct PyStructSequence_Field {
- char *name;
- char *doc;
+ const char *name;
+ const char *doc;
} PyStructSequence_Field;
typedef struct PyStructSequence_Desc {
- char *name;
- char *doc;
+ const char *name;
+ const char *doc;
struct PyStructSequence_Field *fields;
int n_in_sequence;
} PyStructSequence_Desc;