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[].
This commit is contained in:
Tim Peters 2004-09-23 02:39:37 +00:00
parent 7790c3b802
commit f4aca755bc
4 changed files with 11 additions and 12 deletions

View file

@ -667,6 +667,11 @@ PyAPI_DATA(PyObject) _Py_NotImplementedStruct; /* Don't use this directly */
#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.