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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue