From: mdw Date: Wed, 27 Apr 2005 23:40:07 +0000 (+0000) Subject: Fixing for Python 2.3 and later. X-Git-Url: https://git.distorted.org.uk/~mdw/pyke/commitdiff_plain/ba45a729eaab33a44d166d65dd27e624ca22ba32 Fixing for Python 2.3 and later. --- diff --git a/catacomb-python.h b/catacomb-python.h index c93ef07..368c7bb 100644 --- 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;