/[guile]/guile/guile-core/doc/ref/gh.texi
ViewVC logotype

Diff of /guile/guile-core/doc/ref/gh.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by kryde, Wed Jun 11 22:47:37 2003 UTC revision 1.9 by kryde, Sat Oct 18 01:49:18 2003 UTC
# Line 609  the given name (which is a C string).  R Line 609  the given name (which is a C string).  R
609  @deftypefunx SCM gh_list (SCM l0, SCM l1, ... , SCM_UNDEFINED)  @deftypefunx SCM gh_list (SCM l0, SCM l1, ... , SCM_UNDEFINED)
610  These correspond to the Scheme @code{(cons a b)} and @code{(list l0 l1  These correspond to the Scheme @code{(cons a b)} and @code{(list l0 l1
611  ...)} procedures.  Note that @code{gh_list()} is a C macro that invokes  ...)} procedures.  Note that @code{gh_list()} is a C macro that invokes
612  @code{scm_listify()}.  @code{scm_list_n()}.
613  @end deftypefun  @end deftypefun
614    
615  @deftypefun SCM gh_car (SCM @var{obj})  @deftypefun SCM gh_car (SCM @var{obj})
# Line 1118  Use the @code{SCM_CAR} and @code{SCM_CDR Line 1118  Use the @code{SCM_CAR} and @code{SCM_CDR
1118  Use @code{scm_set_car_x} and @code{scm_set_cdr_x} instead.  Use @code{scm_set_car_x} and @code{scm_set_cdr_x} instead.
1119    
1120  @item @code{gh_list}  @item @code{gh_list}
1121  Use @code{scm_listify} instead.  Use @code{scm_list_n} instead.
1122    
1123  @item @code{gh_length}  @item @code{gh_length}
1124  Replace @code{gh_length (@var{lst})} by  Replace @code{gh_length (@var{lst})} by
# Line 1133  Use @code{scm_append} instead. Line 1133  Use @code{scm_append} instead.
1133  @item @code{gh_append2}, @code{gh_append3}, @code{gh_append4}  @item @code{gh_append2}, @code{gh_append3}, @code{gh_append4}
1134  Replace @code{gh_append@var{N} (@var{l1}, @dots{}, @var{lN})} by  Replace @code{gh_append@var{N} (@var{l1}, @dots{}, @var{lN})} by
1135  @example  @example
1136  scm_append (scm_listify (@var{l1}, @dots{}, @var{lN}, SCM_UNDEFINED))  scm_append (scm_list_n (@var{l1}, @dots{}, @var{lN}, SCM_UNDEFINED))
1137  @end example  @end example
1138    
1139  @item @code{gh_reverse}  @item @code{gh_reverse}
# Line 1161  Use @code{scm_vector_ref} and @code{scm_ Line 1161  Use @code{scm_vector_ref} and @code{scm_
1161  Use the @code{SCM_VECTOR_LENGTH} macro instead.  Use the @code{SCM_VECTOR_LENGTH} macro instead.
1162    
1163  @item @code{gh_apply}  @item @code{gh_apply}
1164  Use @code{scm_apply} instead, but note that @code{scm_apply} takes an  Use @code{scm_apply_0} instead.
 additional third argument that you should set to @code{SCM_EOL}.  
1165    
1166  @end table  @end table

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26