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;";