X-Git-Url: https://git.distorted.org.uk/~mdw/pyke/blobdiff_plain/60a7d03c35074d3e841b028cd3e0fd2763b289f7..ba45a729eaab33a44d166d65dd27e624ca22ba32:/catacomb-python.h 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;