(GSWIG_scm2str): New func.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@314 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ef2d1f1d89
commit
8063d4d12e
1 changed files with 7 additions and 0 deletions
|
|
@ -19,4 +19,11 @@
|
|||
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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue