summaryrefslogtreecommitdiffstats
path: root/Python/structmember.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/structmember.c')
-rw-r--r--Python/structmember.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/structmember.c b/Python/structmember.c
index 1574c95..0a24d9d 100644
--- a/Python/structmember.c
+++ b/Python/structmember.c
@@ -29,7 +29,7 @@ listmembers(struct memberlist *mlist)
}
PyObject *
-PyMember_Get(char *addr, struct memberlist *mlist, char *name)
+PyMember_Get(const char *addr, struct memberlist *mlist, const char *name)
{
struct memberlist *l;
@@ -51,7 +51,7 @@ PyMember_Get(char *addr, struct memberlist *mlist, char *name)
}
PyObject *
-PyMember_GetOne(char *addr, PyMemberDef *l)
+PyMember_GetOne(const char *addr, PyMemberDef *l)
{
PyObject *v;
if ((l->flags & READ_RESTRICTED) &&
@@ -134,7 +134,7 @@ PyMember_GetOne(char *addr, PyMemberDef *l)
}
int
-PyMember_Set(char *addr, struct memberlist *mlist, char *name, PyObject *v)
+PyMember_Set(char *addr, struct memberlist *mlist, const char *name, PyObject *v)
{
struct memberlist *l;