[Python-checkins] CVS: python/dist/src/Include abstract.h,2.22,2.23
Jeremy Hylton
python-dev@python.org
Thu, 13 Jul 2000 12:39:18 -0700
- Previous message: [Python-checkins] CVS: python/dist/src/Tools/freeze checkextensions_win32.py,1.4,1.5 extensions_win32.ini,1.2,1.3 freeze.py,1.35,1.36 winmakemakefile.py,1.10,1.11
- Next message: [Python-checkins] CVS: python/nondist/peps pep-0000.txt,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Include
In directory slayer.i.sourceforge.net:/tmp/cvs-serv18016/Include
Modified Files:
abstract.h
Log Message:
fix PyXXX_Length macros as suggested by Fred
Index: abstract.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/abstract.h,v
retrieving revision 2.22
retrieving revision 2.23
diff -C2 -r2.22 -r2.23
*** abstract.h 2000/07/12 12:56:18 2.22
--- abstract.h 2000/07/13 19:39:15 2.23
***************
*** 384,388 ****
DL_IMPORT(int) PyObject_Size(PyObject *o);
! #define PyObject_Length(O) PyObject_Size((O))
/*
--- 384,388 ----
DL_IMPORT(int) PyObject_Size(PyObject *o);
! #define PyObject_Length PyObject_Size
/*
***************
*** 686,690 ****
DL_IMPORT(int) PySequence_Size(PyObject *o);
! #define PySequence_Length(O) PySequence_Size((O))
/*
--- 686,690 ----
DL_IMPORT(int) PySequence_Size(PyObject *o);
! #define PySequence_Length PySequence_Size
/*
***************
*** 840,844 ****
DL_IMPORT(int) PyMapping_Size(PyObject *o);
! #define PyMapping_Length(O) PyMapping_Size((O))
/*
--- 840,844 ----
DL_IMPORT(int) PyMapping_Size(PyObject *o);
! #define PyMapping_Length PyMapping_Size
/*
- Previous message: [Python-checkins] CVS: python/dist/src/Tools/freeze checkextensions_win32.py,1.4,1.5 extensions_win32.ini,1.2,1.3 freeze.py,1.35,1.36 winmakemakefile.py,1.10,1.11
- Next message: [Python-checkins] CVS: python/nondist/peps pep-0000.txt,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]