~mdw
/
pyke
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Consistently make keyword-lists be static and read-only.
[pyke]
/
catacomb-python.h
diff --git
a/catacomb-python.h
b/catacomb-python.h
index
1989cd0
..
bbb5fac
100644
(file)
--- a/
catacomb-python.h
+++ b/
catacomb-python.h
@@
-231,6
+231,8
@@
MODULES(DO)
return (d); \
}
+#define KWLIST (/*unconst*/ char **)kwlist
+
struct nameval { const char *name; unsigned long value; };
extern void setconstants(PyObject *, const struct nameval *);