~mdw
/
catacomb-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
catacomb.c, util.c: Export `modname' and set it in main entry point.
[catacomb-python]
/
catacomb.c
diff --git
a/catacomb.c
b/catacomb.c
index
c6f9374
..
750b429
100644
(file)
--- a/
catacomb.c
+++ b/
catacomb.c
@@
-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();