Fix deprecation warnings for test suite under guile 2.0
This commit is contained in:
parent
b819d2a91e
commit
d689d9a860
4 changed files with 12 additions and 12 deletions
|
|
@ -66,7 +66,7 @@ extern int count(char *bytes, int len, char c);
|
|||
/* Return the mutated string as a new object. */
|
||||
|
||||
%typemap(argout) (char *str, int len) {
|
||||
SWIG_APPEND_VALUE(scm_mem2string($1,$2));
|
||||
SWIG_APPEND_VALUE(scm_from_locale_stringn($1,$2));
|
||||
if ($1) scm_must_free($1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue