summaryrefslogtreecommitdiff
path: root/libguile/values.c
diff options
context:
space:
mode:
authorMarius Vollmer <mvo@zagadka.de>2001-05-20 00:35:43 +0000
committerMarius Vollmer <mvo@zagadka.de>2001-05-20 00:35:43 +0000
commit9a441ddb342277f220435280718658f3f126ed43 (patch)
tree211527b14d2c0dbc45843db04de9b6255539ce7b /libguile/values.c
parentc88a8162c408fe70d27e144a4a380fc88ab20dc5 (diff)
downloadguile-9a441ddb342277f220435280718658f3f126ed43.tar.gz
(scm_c_make_gsubr, scm_c_define_gsubr, scm_c_make_gsubr_with_generic,
scm_c_define_gsubr_with_generic): New functions. They replace scm_make_gsubr and scm_make_gsubr_with_generic. The `make' variants only create the gsubr object, while the `define' variants also put it into the current module. Changed all callers. (scm_make_gsubr, scm_make_gsubr_with_generic): Deprecated. (scm_c_make_subr, scm_c_define_subr, scm_c_make_subr_with_generic, scm_c_define_subr_with_generic): New functions. They replace scm_make_subr, scm_make_subr_opt and scm_make_subr_with_generic. The `make' variants only create the subr object, while the `define' variants also put it into the current module. Changed all callers. (scm_make_subr, scm_make_subr_opt, scm_make_subr_with_generic): Deprecated.
Diffstat (limited to 'libguile/values.c')
-rw-r--r--libguile/values.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libguile/values.c b/libguile/values.c
index b37124759..5aad29a89 100644
--- a/libguile/values.c
+++ b/libguile/values.c
@@ -96,7 +96,8 @@ SCM_DEFINE (scm_values, "values", 0, 0, 1,
void
scm_init_values (void)
{
- SCM print = scm_make_subr ("%print-values", scm_tc7_subr_2, print_values);
+ SCM print = scm_c_define_subr ("%print-values", scm_tc7_subr_2,
+ print_values);
scm_values_vtable
= scm_permanent_object (scm_make_vtable_vtable (scm_makfrom0str ("pr"),