[Python-checkins] python/dist/src/Include object.h,2.129,2.130
tim_one at users.sourceforge.net
tim_one at users.sourceforge.net
Thu Sep 23 04:39:39 CEST 2004
Update of /cvsroot/python/python/dist/src/Include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3702/Include
Modified Files:
object.h
Log Message:
A static swapped_op[] array was defined in 3 different C files, & I think
I need to define it again. Bite the bullet and define it once as an
extern, _Py_SwappedOp[].
Index: object.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/object.h,v
retrieving revision 2.129
retrieving revision 2.130
diff -u -d -r2.129 -r2.130
--- object.h 1 Sep 2004 07:02:42 -0000 2.129
+++ object.h 23 Sep 2004 02:39:36 -0000 2.130
@@ -667,6 +667,11 @@
#define Py_GT 4
#define Py_GE 5
+/* Maps Py_LT to Py_GT, ..., Py_GE to Py_LE.
+ * Defined in object.c.
+ */
+PyAPI_DATA(int) _Py_SwappedOp[];
+
/*
Define staticforward and statichere for source compatibility with old
C extensions.
More information about the Python-checkins
mailing list