diff options
author | Keisuke Nishida <kxn30@po.cwru.edu> | 2001-06-28 01:11:59 +0000 |
---|---|---|
committer | Keisuke Nishida <kxn30@po.cwru.edu> | 2001-06-28 01:11:59 +0000 |
commit | 1afff620541041a7b680a85fee6d641092091b7c (patch) | |
tree | 02eb8dd8e195a47339873520221b04dfc46a13b9 /libguile/gh_list.c | |
parent | 02d9f388177fc440ad7648544cfd1034ca0bbd13 (diff) | |
download | guile-1afff620541041a7b680a85fee6d641092091b7c.tar.gz |
* list.h (scm_list_1, scm_list_2, scm_list_3, scm_list_4, scm_list_5,
scm_list_n): New functions.
(SCM_LIST0, SCM_LIST1, SCM_LIST2, SCM_LIST3, SCM_LIST4, SCM_LIST5,
SCM_LIST6, SCM_LIST7, SCM_LIST8, SCM_LIST9, scm_listify): Deprecated.
(lots of files): Use the new functions.
* goops.c (CALL_GF1, CALL_GF2, CALL_GF3, CALL_GF4): Use scm_call_N.
* strings.c: #include "libguile/deprecation.h".
Diffstat (limited to 'libguile/gh_list.c')
-rw-r--r-- | libguile/gh_list.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libguile/gh_list.c b/libguile/gh_list.c index 71af25ee8..6935ffc4a 100644 --- a/libguile/gh_list.c +++ b/libguile/gh_list.c @@ -59,27 +59,27 @@ gh_length (SCM l) them all together into a single list, which is returned. This is equivalent to the Scheme procedure (append list1 list2 ...) */ SCM -gh_append(SCM args) +gh_append (SCM args) { - return scm_append(args); + return scm_append (args); } SCM -gh_append2(SCM l1, SCM l2) +gh_append2 (SCM l1, SCM l2) { - return scm_append(scm_listify(l1, l2, SCM_UNDEFINED)); + return scm_append (scm_list_2 (l1, l2)); } SCM gh_append3(SCM l1, SCM l2, SCM l3) { - return scm_append(scm_listify(l1, l2, l3, SCM_UNDEFINED)); + return scm_append (scm_list_3 (l1, l2, l3)); } SCM -gh_append4(SCM l1, SCM l2, SCM l3, SCM l4) +gh_append4 (SCM l1, SCM l2, SCM l3, SCM l4) { - return scm_append(scm_listify(l1, l2, l3, l4, SCM_UNDEFINED)); + return scm_append (scm_list_4 (l1, l2, l3, l4)); } /* gh_reverse() is defined as a macro in gh.h */ |