summaryrefslogtreecommitdiff
path: root/libguile/procprop.c
diff options
context:
space:
mode:
authorKeisuke Nishida <kxn30@po.cwru.edu>2001-06-28 01:11:59 +0000
committerKeisuke Nishida <kxn30@po.cwru.edu>2001-06-28 01:11:59 +0000
commit1afff620541041a7b680a85fee6d641092091b7c (patch)
tree02eb8dd8e195a47339873520221b04dfc46a13b9 /libguile/procprop.c
parent02d9f388177fc440ad7648544cfd1034ca0bbd13 (diff)
downloadguile-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/procprop.c')
-rw-r--r--libguile/procprop.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libguile/procprop.c b/libguile/procprop.c
index 7bfc96b3a..4186a8142 100644
--- a/libguile/procprop.c
+++ b/libguile/procprop.c
@@ -155,9 +155,7 @@ scm_i_procedure_arity (SCM proc)
default:
return SCM_BOOL_F;
}
- return SCM_LIST3 (SCM_MAKINUM (a),
- SCM_MAKINUM (o),
- SCM_BOOL(r));
+ return scm_list_3 (SCM_MAKINUM (a), SCM_MAKINUM (o), SCM_BOOL(r));
}
static SCM
@@ -167,7 +165,7 @@ scm_stand_in_scm_proc(SCM proc)
answer = scm_assoc (proc, scm_stand_in_procs);
if (SCM_FALSEP (answer))
{
- answer = scm_closure (SCM_LIST2 (SCM_EOL, SCM_BOOL_F), SCM_EOL);
+ answer = scm_closure (scm_list_2 (SCM_EOL, SCM_BOOL_F), SCM_EOL);
scm_stand_in_procs = scm_acons (proc, answer, scm_stand_in_procs);
}
else