| --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
| +++ b/Python/opt/interpreter-macro-defs.h Fri May 11 16:21:51 2012 -0700 |
| @@ -0,0 +1,13 @@ |
| +/* 20111209/1611/sbr: definitions of necessary macros... */ |
| + |
| +#define Py_CUSTOM_DECREF(op,TYPE,FUNC) \ |
| + do { \ |
| + if ((op) != NULL && --((PyObject*)(op))->ob_refcnt == 0) \ |
| + FUNC((TYPE*)(op)); \ |
| + } while (0) |
| + |
| +#define PyFrame_GetCode(OP) (OP->f_code) |
| + |
| +#define GET_OBJARR_ELEM(ident,index) (((PyObject**)ident)[index]) |
| + |
| + |