Fix deprecation warnings for test suite under guile 2.0

This commit is contained in:
Geert Janssens 2013-04-19 18:57:31 +02:00
commit d689d9a860
4 changed files with 12 additions and 12 deletions

View file

@ -17,7 +17,7 @@ typedef struct SWIGCDATA {
#if SWIGGUILE
%typemap(out) SWIGCDATA {
$result = scm_mem2string($1.data,$1.len);
$result = scm_from_locale_stringn($1.data,$1.len);
}
%typemap(in) (const void *indata, int inlen) = (char *STRING, int LENGTH);
#elif SWIGCHICKEN