From 3983cc1471dad29ed40fc65d4394291b109bf915 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Tue, 6 Apr 2004 06:28:07 +0000 Subject: [PATCH] fix tp_del field git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5834 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/python/pyrun.swg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/python/pyrun.swg b/Lib/python/pyrun.swg index 3f6d7fe17..c9aed5d7b 100644 --- a/Lib/python/pyrun.swg +++ b/Lib/python/pyrun.swg @@ -184,6 +184,8 @@ statichere PyTypeObject varlinktype = { 0, /* tp_cache */ 0, /* tp_subclasses */ 0, /* tp_weaklist */ +#endif +#if PY_VERSION_HEX >= 0x02030200 0, /* tp_del */ #endif #ifdef COUNT_ALLOCS