(GSWIG_scm2str): New func.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@314 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b2c12bc4de
commit
4b0d0af5ea
1 changed files with 7 additions and 0 deletions
|
|
@ -19,4 +19,11 @@
|
||||||
gh_list(object, GH_NOT_PASSED)); \
|
gh_list(object, GH_NOT_PASSED)); \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
char *
|
||||||
|
GSWIG_scm2str (SCM s)
|
||||||
|
{
|
||||||
|
int len = scm_string_length (s);
|
||||||
|
return gh_scm2newstr (s, &len);
|
||||||
|
}
|
||||||
|
|
||||||
/* guile.swg ends here */
|
/* guile.swg ends here */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue