From abeacf914be1d289e08cc06be4516e2a7d756032 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Tue, 22 Nov 2016 07:58:08 +0200 Subject: Issue #28761: The fields name and doc of structures PyMemberDef, PyGetSetDef, PyStructSequence_Field, PyStructSequence_Desc, and wrapperbase are now of type "const char *" rather of "char *". --- Include/structseq.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Include/structseq.h') 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; -- cgit v1.2.1