fix for older python versions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7919 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
dd856a0481
commit
cc97c31569
1 changed files with 0 additions and 4 deletions
|
|
@ -119,14 +119,10 @@ swig_varlink_type(void) {
|
||||||
0, /* tp_as_buffer */
|
0, /* tp_as_buffer */
|
||||||
0, /* tp_flags */
|
0, /* tp_flags */
|
||||||
varlink__doc__, /* tp_doc */
|
varlink__doc__, /* tp_doc */
|
||||||
#if PY_VERSION_HEX >= 0x02000000
|
|
||||||
0, /* tp_traverse */
|
0, /* tp_traverse */
|
||||||
0, /* tp_clear */
|
0, /* tp_clear */
|
||||||
#endif
|
|
||||||
#if PY_VERSION_HEX >= 0x02010000
|
|
||||||
0, /* tp_richcompare */
|
0, /* tp_richcompare */
|
||||||
0, /* tp_weaklistoffset */
|
0, /* tp_weaklistoffset */
|
||||||
#endif
|
|
||||||
#if PY_VERSION_HEX >= 0x02020000
|
#if PY_VERSION_HEX >= 0x02020000
|
||||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue