From eeaf2bd34a93a8bf9d37d11a9b41b0dfd7d3a680 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Wed, 22 Apr 2009 20:43:38 -0700 Subject: [PATCH] Commenting out freearg typemap on doubles until we can make the tests pass --- swig/gsl_typemaps.i | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/swig/gsl_typemaps.i b/swig/gsl_typemaps.i index 4793df3..722ea0c 100644 --- a/swig/gsl_typemaps.i +++ b/swig/gsl_typemaps.i @@ -30,11 +30,12 @@ typedef int size_t; $1[i] = (double) SvNV(*tv); } } - +/* This caused gsl_vector_view functions to fail, can we + * turn this off for those functions? %typemap(freearg) double const [] { if ($1) free($1); } - +*/ %typemap(in) float const [] { AV *tempav; I32 len; -- 2.11.4.GIT