[Python-checkins] python/dist/src/Objects xxobject.c,2.19,2.20
tim_one@sourceforge.net
tim_one@sourceforge.net
2002年5月23日 08:51:22 -0700
Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv2370/python/Objects
Modified Files:
xxobject.c
Log Message:
Use function instead of macro spellings for PyObject_memorystuff.
Index: xxobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/xxobject.c,v
retrieving revision 2.19
retrieving revision 2.20
diff -C2 -d -r2.19 -r2.20
*** xxobject.c 1 Sep 2000 23:29:27 -0000 2.19
--- xxobject.c 23 May 2002 15:51:20 -0000 2.20
***************
*** 27,31 ****
{
xxobject *xp;
! xp = PyObject_NEW(xxobject, &Xxtype);
if (xp == NULL)
return NULL;
--- 27,31 ----
{
xxobject *xp;
! xp = PyObject_New(xxobject, &Xxtype);
if (xp == NULL)
return NULL;
***************
*** 40,44 ****
{
Py_XDECREF(xp->x_attr);
! PyObject_DEL(xp);
}
--- 40,44 ----
{
Py_XDECREF(xp->x_attr);
! PyObject_Del(xp);
}