diff options
author | Tim Peters <tim.peters@gmail.com> | 2005-12-24 06:03:06 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2005-12-24 06:03:06 (GMT) |
commit | c3d12ac88ced9fe7de33a8f6654eef74c7f38ace (patch) | |
tree | b126d0f24dc8db4a35e1973bf759ae00ca7d3c52 /Include/structmember.h | |
parent | dc297b4ef4d8a8eaf597b66353b9205f00668187 (diff) | |
download | cpython-c3d12ac88ced9fe7de33a8f6654eef74c7f38ace.zip cpython-c3d12ac88ced9fe7de33a8f6654eef74c7f38ace.tar.gz cpython-c3d12ac88ced9fe7de33a8f6654eef74c7f38ace.tar.bz2 |
const poisoning, spreading to fix new const warnings
in _winreg.c.
Diffstat (limited to 'Include/structmember.h')
-rw-r--r-- | Include/structmember.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/structmember.h b/Include/structmember.h index 96d2331..91b23d5 100644 --- a/Include/structmember.h +++ b/Include/structmember.h @@ -79,11 +79,11 @@ typedef struct PyMemberDef { /* Obsolete API, for binary backwards compatibility */ -PyAPI_FUNC(PyObject *) PyMember_Get(char *, struct memberlist *, char *); -PyAPI_FUNC(int) PyMember_Set(char *, struct memberlist *, char *, PyObject *); +PyAPI_FUNC(PyObject *) PyMember_Get(const char *, struct memberlist *, const char *); +PyAPI_FUNC(int) PyMember_Set(char *, struct memberlist *, const char *, PyObject *); /* Current API, use this */ -PyAPI_FUNC(PyObject *) PyMember_GetOne(char *, struct PyMemberDef *); +PyAPI_FUNC(PyObject *) PyMember_GetOne(const char *, struct PyMemberDef *); PyAPI_FUNC(int) PyMember_SetOne(char *, struct PyMemberDef *, PyObject *); |