From ba45a729eaab33a44d166d65dd27e624ca22ba32 Mon Sep 17 00:00:00 2001 From: mdw Date: Wed, 27 Apr 2005 23:40:07 +0000 Subject: [PATCH] Fixing for Python 2.3 and later. --- catacomb-python.h | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.11.0