From 1677881e01a25bd4860479d98858a19665959c50 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sat, 19 Feb 2011 01:23:07 +0000 Subject: [PATCH] Remove typemap for illegal type git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12477 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/octave/octtypemaps.swg | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Lib/octave/octtypemaps.swg b/Lib/octave/octtypemaps.swg index 26a52197f..cc5fce346 100644 --- a/Lib/octave/octtypemaps.swg +++ b/Lib/octave/octtypemaps.swg @@ -38,11 +38,6 @@ // Include the unified typemap library %include - -%typemap(constcode,noblock=1) int double { - SWIG_Octave_SetConstant(module_ns,"$symname",octave_value($value)); -} - %typecheck(SWIG_TYPECHECK_SWIGOBJECT) SWIG_Object "$1 = (*$input).is_defined();"; %typecheck(SWIG_TYPECHECK_SWIGOBJECT) octave_value_list "$1 = true;";