diff options
author | Kevin Ryde <user42@zip.com.au> | 2003-06-11 22:47:37 +0000 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2003-06-11 22:47:37 +0000 |
commit | fe2a94df998f4b8a3ea7dd2e2b9ab5c849cf61a1 (patch) | |
tree | 5c64ca773ccbe734ff781f1e1ca13c2e059c35cb | |
parent | 800a5002f0bc2fef497d6e1778b72b553a51d62f (diff) | |
download | guile-fe2a94df998f4b8a3ea7dd2e2b9ab5c849cf61a1.tar.gz |
* scheme-memory.texi (Memory Blocks): Use {} around types for
@deftypefn, for correct name in indexes.
* gh.texi (Scheme to C): Ditto.
-rw-r--r-- | doc/ref/gh.texi | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/ref/gh.texi b/doc/ref/gh.texi index f630b534d..621df1896 100644 --- a/doc/ref/gh.texi +++ b/doc/ref/gh.texi @@ -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}, size_t *@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. @@ -459,7 +459,7 @@ If @var{start} + @var{len} is off the end of @var{src}, signal an out-of-range error. @end deftypefun -@deftypefun char *gh_symbol2newstr (SCM @var{sym}, int *@var{lenp}) +@deftypefun {char *} gh_symbol2newstr (SCM @var{sym}, int *@var{lenp}) Takes a Scheme symbol and returns a string of the form @code{"'symbol-name"}. If @var{lenp} is non-null, the string's length is returned in @code{*@var{lenp}}. @@ -468,11 +468,11 @@ This function uses malloc to obtain storage for the returned string; the caller is responsible for freeing it. @end deftypefun -@deftypefun char *gh_scm2chars (SCM @var{vector}, chars *@var{result}) -@deftypefunx short *gh_scm2shorts (SCM @var{vector}, short *@var{result}) -@deftypefunx long *gh_scm2longs (SCM @var{vector}, long *@var{result}) -@deftypefunx float *gh_scm2floats (SCM @var{vector}, float *@var{result}) -@deftypefunx double *gh_scm2doubles (SCM @var{vector}, double *@var{result}) +@deftypefun {char *} gh_scm2chars (SCM @var{vector}, chars *@var{result}) +@deftypefunx {short *} gh_scm2shorts (SCM @var{vector}, short *@var{result}) +@deftypefunx {long *} gh_scm2longs (SCM @var{vector}, long *@var{result}) +@deftypefunx {float *} gh_scm2floats (SCM @var{vector}, float *@var{result}) +@deftypefunx {double *} gh_scm2doubles (SCM @var{vector}, double *@var{result}) Copy the numbers in @var{vector} to the array pointed to by @var{result} and return it. If @var{result} is NULL, allocate a double array large enough. |