Skip to content

Commit

Permalink
Commenting out freearg typemap on doubles until we can make the tests…
Browse files Browse the repository at this point in the history
… pass
  • Loading branch information
leto committed Apr 23, 2009
1 parent 8016855 commit eeaf2bd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions swig/gsl_typemaps.i
Expand Up @@ -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;
Expand Down

0 comments on commit eeaf2bd

Please sign in to comment.