diff --git a/doc/ref/ChangeLog b/doc/ref/ChangeLog index 176e0ff04..b0f5e2c67 100644 --- a/doc/ref/ChangeLog +++ b/doc/ref/ChangeLog @@ -1,3 +1,9 @@ +2002-01-29 Stefan Jahn + + * 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 * Makefile.am (autoconf-macros.texi): Also set GUILE_LOAD_PATH diff --git a/doc/ref/gh.texi b/doc/ref/gh.texi index 7362232fb..9b2e9850e 100644 --- a/doc/ref/gh.texi +++ b/doc/ref/gh.texi @@ -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]