Author: Armin Rigo <[email protected]> Branch: Changeset: r52967:b741ab752493 Date: 2012-02-28 13:41 +0100 http://bitbucket.org/pypy/pypy/changeset/b741ab752493/
Log: Add _Py_ForgetReference(). http://mail.python.org/pipermail/pypy- dev/2012-February/009482.html diff --git a/pypy/module/cpyext/include/object.h b/pypy/module/cpyext/include/object.h --- a/pypy/module/cpyext/include/object.h +++ b/pypy/module/cpyext/include/object.h @@ -56,6 +56,8 @@ #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type) #define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size) +#define _Py_ForgetReference(ob) /* nothing */ + #define Py_None (&_Py_NoneStruct) /* _______________________________________________ pypy-commit mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-commit
