From 2cafaf9d439d43c81b81dc6c7bdb296afe9e8623 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Tue, 2 Sep 2008 23:01:37 +0000 Subject: [PATCH] Fix #1988296 - Multiple module director linking issue git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10809 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- CHANGES.current | 4 ++++ Lib/python/director.swg | 6 +----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGES.current b/CHANGES.current index 79b0aaec6..18f565cec 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -1,6 +1,10 @@ Version 1.3.37 (in progress) ============================= +2008-09-02: wsfulton + [Python] Commit patch #1988296 GCItem multiple module linking issue when using + directors. + 2008-09-02: wsfulton [C#] Support for 'using' and 'fixed' blocks in the 'csin' typemap is now possible through the use of the pre attribute and the new terminator attribute, eg diff --git a/Lib/python/director.swg b/Lib/python/director.swg index 176ee3336..7438cfbff 100644 --- a/Lib/python/director.swg +++ b/Lib/python/director.swg @@ -107,7 +107,7 @@ namespace Swig { /* memory handler */ struct GCItem { - virtual ~GCItem() = 0; + virtual ~GCItem() {} virtual int get_own() const { @@ -115,10 +115,6 @@ namespace Swig { } }; - GCItem::~GCItem() - { - } - struct GCItem_var { GCItem_var(GCItem *item = 0) : _item(item)