mirror of
https://github.com/python/cpython.git
synced 2025-08-29 21:25:01 +00:00
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:
parent
7790c3b802
commit
f4aca755bc
4 changed files with 11 additions and 12 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue