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:
Marcelo Matus 2006-01-05 19:42:40 +00:00
commit 36c3511e1f

View file

@ -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 */