From 5e06e0931edee5d102ef45fa74ed805368cb22dd Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Mon, 4 Jul 2022 09:52:31 +0100 Subject: [PATCH] Remove Tcl SWIGTYPE CLASS typemap Odd typemap cleanup - this typemap can't be used - SWIG_new_copy does not exist --- Lib/tcl/tcltypemaps.swg | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Lib/tcl/tcltypemaps.swg b/Lib/tcl/tcltypemaps.swg index ad31bcfc9..66cce47ec 100644 --- a/Lib/tcl/tcltypemaps.swg +++ b/Lib/tcl/tcltypemaps.swg @@ -77,11 +77,6 @@ #endif -%typemap(throws,noblock=1) SWIGTYPE CLASS { - SWIG_set_result(SWIG_NewInstanceObj(%as_voidptr(SWIG_new_copy($1, $1_ltype)), $&1_descriptor, 1)); - SWIG_fail; -} - %typemap(out) SWIGTYPE = SWIGTYPE INSTANCE; %typemap(out) SWIGTYPE * = SWIGTYPE *INSTANCE; %typemap(out) SWIGTYPE *const = SWIGTYPE *;