*.c: Use Python `METH_NOARGS' methods where applicable.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 20 Oct 2019 20:00:18 +0000 (21:00 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 11 Apr 2020 11:44:14 +0000 (12:44 +0100)
commit138563a571351c06c09fba7c6ed3d1f79fdd974d
tree5b6993b3e9bdcb3a48371bbd8fed80c7d5044872
parent7bc403cda1afe5cc72ce79897d68071568896b42
*.c: Use Python `METH_NOARGS' methods where applicable.

Rather than rolling our own.  We need a little extra machinery to insert
the table entries, especially for the generic mapping support, but this
still saves 95 lines of code.

The `CONVERT_CAREFULLY' macro recently added will check that we haven't
messed things up too badly.
mapping.c
pyke.h