Another fix for test case apply_strings, for guile -gh, by adding explicit casts to the appropriate .

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10026 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Matthias Köppe 2007-10-23 00:11:16 +00:00
commit c102472282

View file

@ -324,11 +324,11 @@ SIMPLE_MAP(unsigned long long, gh_scm2ulong_long, gh_ulong_long2scm, integer);
%typemap (varin) char * {
if ($1) free($1);
$1 = SWIG_scm2str($input);
$1 = ($1_ltype) SWIG_scm2str($input);
}
%typemap (varin) const char * {
$1 = SWIG_scm2str($input);
$1 = ($1_ltype) SWIG_scm2str($input);
}
%typemap(throws) char * {