2002-01-29 Stefan Jahn <stefan@lkcc.org>
authorStefan Jahn <stefan@lkcc.org>
Tue, 29 Jan 2002 10:46:13 +0000 (10:46 +0000)
committerStefan Jahn <stefan@lkcc.org>
Tue, 29 Jan 2002 10:46:13 +0000 (10:46 +0000)
        * gh.texi (scm transition summary): Documented gh equivalents
        `scm_c_string2str', `scm_c_substring2str' and `scm_c_symbol2str'
        and removed the appropriate FIXME's.

doc/ref/ChangeLog
doc/ref/gh.texi

index 176e0ff..b0f5e2c 100644 (file)
@@ -1,3 +1,9 @@
+2002-01-29  Stefan Jahn  <stefan@lkcc.org>
+
+       * gh.texi (scm transition summary): Documented gh equivalents
+       `scm_c_string2str', `scm_c_substring2str' and `scm_c_symbol2str'
+       and removed the appropriate FIXME's.
+
 2002-01-14  Marius Vollmer  <marius.vollmer@uni-dortmund.de>
 
        * Makefile.am (autoconf-macros.texi):  Also set GUILE_LOAD_PATH
index 7362232..9b2e985 100644 (file)
@@ -978,13 +978,19 @@ a @code{SCM} value is a character before using @code{SCM_CHAR} to
 extract the character value, use the @code{SCM_VALIDATE_CHAR} macro.
 
 @item @code{gh_scm2newstr}
-No direct scm equivalent.  [FIXME]
+Instead of @code{gh_scm2newstr (@var{obj}, @var{lenp})} use
+@code{scm_c_string2str (@var{obj}, @var{str}, @var{lenp})}.  With the 
+additional @var{str} argument the user can pass a pre-allocated memory 
+chunk or leave it passing NULL.
 
 @item @code{gh_get_substr}
-No direct scm equivalent.  [FIXME]
+Use the @code{scm_c_substring2str (@var{obj}, @var{str}, @var{start}, 
+@var{len})} function instead.
 
 @item @code{gh_symbol2newstr}
-No direct scm equivalent.  [FIXME]
+Use the @code{scm_c_symbol2str (@var{obj}, @var{str}, @var{lenp})} function
+instead.  With the additional @var{str} argument the user can pass a 
+pre-allocated memory chunk or leave it passing NULL.
 
 @item @code{gh_scm2chars}
 No direct scm equivalent.  [FIXME]