chiark
/
gitweb
/
~mdw
/
pyke
/ 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.
[pyke]
/
catacomb-python.h
diff --git
a/catacomb-python.h
b/catacomb-python.h
index 5638812dde6c479fc8e9ec4f317cf831bcc044ba..fe64aebd3cc08a3a60121ef133be28194ec0ac44 100644
(file)
--- a/
catacomb-python.h
+++ b/
catacomb-python.h
@@
-185,6
+185,7
@@
PRIVATE_SYMBOLS;
#define INITTYPE(ty, base) INITTYPE_META(ty, base, type)
extern PyObject *home_module;
+extern PyObject *modname;
#define INSERT(name, ob) do { \
PyObject *_o = (PyObject *)(ob); \