mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-02 04:40:29 +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:
parent
42a67b6510
commit
6422fd511b
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue