~mdw
/
catacomb-python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c43a1dd
)
algorithms.c: Fix longstanding ugly hack with new `MEMRNM' macro.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 20 Oct 2019 15:15:39 +0000
(16:15 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 11 Apr 2020 11:44:14 +0000
(12:44 +0100)
algorithms.c
patch
|
blob
|
blame
|
history
diff --git
a/algorithms.c
b/algorithms.c
index
4d4f5e2
..
465da45
100644
(file)
--- a/
algorithms.c
+++ b/
algorithms.c
@@
-215,9
+215,7
@@
static PyObject *ksget_max(PyObject *me, void *hunoz)
static const PyMemberDef keysz_pymembers[] = {
#define MEMBERSTRUCT keysz_pyobj
-#define default dfl /* ugh! */
- MEMBER(default, T_INT, READONLY, "KSZ.default -> default key size")
-#undef default
+ MEMRNM(default, T_INT, dfl, READONLY, "KSZ.default -> default key size")
#undef MEMBERSTRUCT
{ 0 }
};