X-Git-Url: https://git.distorted.org.uk/~mdw/pyke/blobdiff_plain/92d8797b11ec4b7c5e9b1b2e2721d2e2ec26cee8..c6a36308d930f04e4cce57b319d9ea6628fc3f4c:/catacomb.c diff --git a/catacomb.c b/catacomb.c index f02d39e..bf68727 100644 --- a/catacomb.c +++ b/catacomb.c @@ -151,7 +151,7 @@ static PyObject *meth__ego(PyObject *me, PyObject *arg) static PyMethodDef methods[] = { #define METHNAME(func) meth_##func - METH (_ego, "_ego(ARGV0)") + METH (_ego, "_ego(ARGV0)") #undef METHNAME { 0 } }; @@ -174,6 +174,8 @@ static void init_random(void) EXPORT void init_base(void) { PyObject *mod; + + modname = PyString_FromString("catacomb"); addmethods(methods); INIT_MODULES; init_random();