1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-11 22:31:12 +02:00

(Scheme to C): In gh_scm2newstr, lenp is size_t* not int*.

This changed in guile 1.6, the docs weren't updated.
This commit is contained in:
Kevin Ryde 2003-06-11 22:36:08 +00:00
parent 067067e492
commit 14dce556df

View file

@ -433,7 +433,7 @@ longs, unsigned longs, floats or doubles at memory location @var{dptr}.
These routines convert the Scheme object to the given C type.
@end deftypefun
@deftypefun char *gh_scm2newstr (SCM @var{str}, int *@var{lenp})
@deftypefun char *gh_scm2newstr (SCM @var{str}, size_t *@var{lenp})
Given a Scheme string @var{str}, return a pointer to a new copy of its
contents, followed by a null byte. If @var{lenp} is non-null, set
@code{*@var{lenp}} to the string's length.