fix problem with PyObject_Del and old python versions, reported by John Koleszar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8219 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
15534192b3
commit
36c3511e1f
1 changed files with 2 additions and 2 deletions
|
|
@ -592,7 +592,7 @@ _PySwigObject_type(void) {
|
|||
0, /* tp_init */
|
||||
0, /* tp_alloc */
|
||||
0, /* tp_new */
|
||||
PyObject_Del, /* tp_free */
|
||||
0, /* tp_free */
|
||||
0, /* tp_is_gc */
|
||||
0, /* tp_bases */
|
||||
0, /* tp_mro */
|
||||
|
|
@ -755,7 +755,7 @@ _PySwigPacked_type(void) {
|
|||
0, /* tp_init */
|
||||
0, /* tp_alloc */
|
||||
0, /* tp_new */
|
||||
PyObject_Del, /* tp_free */
|
||||
0, /* tp_free */
|
||||
0, /* tp_is_gc */
|
||||
0, /* tp_bases */
|
||||
0, /* tp_mro */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue