[Python-checkins] python/dist/src/Include objimpl.h,2.59,2.60
tim_one at users.sourceforge.net
tim_one at users.sourceforge.net
Thu Jul 15 06:06:01 CEST 2004
Update of /cvsroot/python/python/dist/src/Include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14504/Include
Modified Files:
objimpl.h
Log Message:
Formalize that the Py_VISIT macro requires that the tp_traverse
implementation it's used in must give its arguments specific names.
Index: objimpl.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/objimpl.h,v
retrieving revision 2.59
retrieving revision 2.60
diff -C2 -d -r2.59 -r2.60
*** objimpl.h 14 Jul 2004 19:08:17 -0000 2.59
--- objimpl.h 15 Jul 2004 04:05:59 -0000 2.60
***************
*** 303,307 ****
! /* Utility macro to help write tp_traverse functions */
#define Py_VISIT(op) \
do { \
--- 303,311 ----
! /* Utility macro to help write tp_traverse functions.
! * To use this macro, the tp_traverse function must name its arguments
! * "visit" and "arg". This is intended to keep tp_traverse functions
! * looking as much alike as possible.
! */
#define Py_VISIT(op) \
do { \
More information about the Python-checkins
mailing list