433 |
These routines convert the Scheme object to the given C type. |
These routines convert the Scheme object to the given C type. |
434 |
@end deftypefun |
@end deftypefun |
435 |
|
|
436 |
@deftypefun char *gh_scm2newstr (SCM @var{str}, int *@var{lenp}) |
@deftypefun char *gh_scm2newstr (SCM @var{str}, size_t *@var{lenp}) |
437 |
Given a Scheme string @var{str}, return a pointer to a new copy of its |
Given a Scheme string @var{str}, return a pointer to a new copy of its |
438 |
contents, followed by a null byte. If @var{lenp} is non-null, set |
contents, followed by a null byte. If @var{lenp} is non-null, set |
439 |
@code{*@var{lenp}} to the string's length. |
@code{*@var{lenp}} to the string's length. |