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