(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.
This commit is contained in:
parent
c88a8162c4
commit
9a441ddb34
12 changed files with 34 additions and 29 deletions
|
|
@ -169,7 +169,7 @@ scm_init_pairs ()
|
|||
unsigned int subnr = 0;
|
||||
|
||||
for (subnr = 0; cxrs [subnr]; subnr++)
|
||||
scm_make_subr(cxrs [subnr], scm_tc7_cxr, NULL);
|
||||
scm_c_define_subr (cxrs [subnr], scm_tc7_cxr, NULL);
|
||||
|
||||
#ifndef SCM_MAGIC_SNARFER
|
||||
#include "libguile/pairs.x"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue