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:
parent
cab796d49e
commit
c102472282
1 changed files with 2 additions and 2 deletions
|
|
@ -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 * {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue