chiark / gitweb /
Consistently make keyword-lists be static and read-only.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 9 Nov 2018 12:16:59 +0000 (12:16 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 10 Nov 2018 01:30:58 +0000 (01:30 +0000)
commit0fed227da78a251032d6e1080ea968b3c7b86203
tree78acf6b3797a2980614f5535fb3c5d7583721293
parentc474ffa62f8ea8cd32f8c47b246c0312c8220f0c
Consistently make keyword-lists be static and read-only.

We had an exciting mix of static and automatic storage durations, and
none were marked as `const'.  Python isn't `const'-correct, so we have
to cast away the `const'-ness: introduce a new macro `KWLIST' to do
this.

Also constify some other related tables, such as method names in
`pgev_python'.
catacomb-python.h
util.c