*.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>
Mon, 25 Nov 2019 17:43:08 +0000 (17:43 +0000)
commitb71fd366c70e71879e9331ec9f476cee89411a0c
tree5b6993b3e9bdcb3a48371bbd8fed80c7d5044872
parent492c86e6a35fc68ad602f707b06422b816f7972e
*.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