* doc gh scm_list_n and scm_apply_0
@ 2003-10-18 1:50 Kevin Ryde
0 siblings, 0 replies; only message in thread
From: Kevin Ryde @ 2003-10-18 1:50 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 247 bytes --]
FYI,
* gh.texi (Calling Scheme procedures from C, scm transition summary):
Refer to scm_list_n, not the old name scm_listify.
(scm transition summary): For gh_apply, recommend scm_apply_0, which
is now documented.
[-- Attachment #2: gh.texi.listify.diff --]
[-- Type: text/plain, Size: 1297 bytes --]
--- gh.texi.~1.8.~ 2003-06-12 08:44:17.000000000 +1000
+++ gh.texi 2003-10-18 11:46:13.000000000 +1000
@@ -609,7 +609,7 @@
@deftypefunx SCM gh_list (SCM l0, SCM l1, ... , SCM_UNDEFINED)
These correspond to the Scheme @code{(cons a b)} and @code{(list l0 l1
...)} procedures. Note that @code{gh_list()} is a C macro that invokes
-@code{scm_listify()}.
+@code{scm_list_n()}.
@end deftypefun
@deftypefun SCM gh_car (SCM @var{obj})
@@ -1118,7 +1118,7 @@
Use @code{scm_set_car_x} and @code{scm_set_cdr_x} instead.
@item @code{gh_list}
-Use @code{scm_listify} instead.
+Use @code{scm_list_n} instead.
@item @code{gh_length}
Replace @code{gh_length (@var{lst})} by
@@ -1133,7 +1133,7 @@
@item @code{gh_append2}, @code{gh_append3}, @code{gh_append4}
Replace @code{gh_append@var{N} (@var{l1}, @dots{}, @var{lN})} by
@example
-scm_append (scm_listify (@var{l1}, @dots{}, @var{lN}, SCM_UNDEFINED))
+scm_append (scm_list_n (@var{l1}, @dots{}, @var{lN}, SCM_UNDEFINED))
@end example
@item @code{gh_reverse}
@@ -1161,7 +1161,6 @@
Use the @code{SCM_VECTOR_LENGTH} macro instead.
@item @code{gh_apply}
-Use @code{scm_apply} instead, but note that @code{scm_apply} takes an
-additional third argument that you should set to @code{SCM_EOL}.
+Use @code{scm_apply_0} instead.
@end table
[-- Attachment #3: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-10-18 1:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-18 1:50 doc gh scm_list_n and scm_apply_0 Kevin Ryde
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).