chiark
/
gitweb
/
~mdw
/
pyke
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*.c: Make all of the type-definition tables read-only.
[pyke]
/
mapping.c
diff --git
a/mapping.c
b/mapping.c
index 229dfa99b32eafb136c9c9cb3d01b74a7f54cad7..615c5edcbdefe8e1211d04e45609994d33dddc6d 100644
(file)
--- a/
mapping.c
+++ b/
mapping.c
@@
-160,7
+160,7
@@
static PyTypeObject valiter_pytype_skel = {
0 /* @tp_is_gc@ */
};
0 /* @tp_is_gc@ */
};
-PySequenceMethods gmap_pysequence = {
+
const
PySequenceMethods gmap_pysequence = {
0, /* @sq_length@ */
0, /* @sq_concat@ */
0, /* @sq_repeat@ */
0, /* @sq_length@ */
0, /* @sq_concat@ */
0, /* @sq_repeat@ */
@@
-403,7
+403,7
@@
end:
return (rc);
}
return (rc);
}
-PyMethodDef gmap_pymethods[] = {
+
const
PyMethodDef gmap_pymethods[] = {
GMAP_METHODS
{ 0 }
};
GMAP_METHODS
{ 0 }
};