summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-09-23 02:39:37 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-09-23 02:39:37 (GMT)
commitf4aca755bc9f26b51b6820a162a3f76c2a1a1abc (patch)
tree396d803b3cf3ffbee73269c6ebb92e25f30ee373 /Include
parent7790c3b802e98f706f0caf729cdd8a5bad5a3ce7 (diff)
downloadcpython-f4aca755bc9f26b51b6820a162a3f76c2a1a1abc.zip
cpython-f4aca755bc9f26b51b6820a162a3f76c2a1a1abc.tar.gz
cpython-f4aca755bc9f26b51b6820a162a3f76c2a1a1abc.tar.bz2
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[].
Diffstat (limited to 'Include')
-rw-r--r--Include/object.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Include/object.h b/Include/object.h
index 258b074..fd7c235 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -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.