~mdw
/
pyke
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
60a7d03
)
Fixing for Python 2.3 and later.
author
mdw
<mdw>
Wed, 27 Apr 2005 23:40:07 +0000
(23:40 +0000)
committer
mdw
<mdw>
Wed, 27 Apr 2005 23:40:07 +0000
(23:40 +0000)
catacomb-python.h
patch
|
blob
|
blame
|
history
diff --git
a/catacomb-python.h
b/catacomb-python.h
index
c93ef07
..
368c7bb
100644
(file)
--- a/
catacomb-python.h
+++ b/
catacomb-python.h
@@
-182,6
+182,9
@@
MODULES(DO)
#undef DO
+#define FREEOBJ(obj) \
+ (((PyObject *)(obj))->ob_type->tp_free((PyObject *)(obj)))
+
/*----- Bytestrings -------------------------------------------------------*/
PyTypeObject *bytestring_pyobj;