diff options
author | Marius Vollmer <mvo@zagadka.de> | 2004-07-23 15:43:02 +0000 |
---|---|---|
committer | Marius Vollmer <mvo@zagadka.de> | 2004-07-23 15:43:02 +0000 |
commit | e11e83f3d99305ada6354cae7123fb8c0e998703 (patch) | |
tree | 23dccd2a0fd1741abb8561214acadc347036480b /libguile/environments.c | |
parent | 928e0f421070bb610f3375d5808a6378d5edfa1b (diff) | |
download | guile-e11e83f3d99305ada6354cae7123fb8c0e998703.tar.gz |
* deprecated.h, deprecated.c, numbers.h (SCM_INUMP, SCM_NINUMP,
SCM_INUM): Deprecated by reenaming them to SCM_I_INUMP, SCM_I_NINUMP
and SCM_I_INUM, respectively and adding deprecated versions to
deprecated.h and deprecated.c. Changed all uses to either use the
SCM_I_ variants or scm_is_*, scm_to_*, or scm_from_*, as appropriate.
Diffstat (limited to 'libguile/environments.c')
-rw-r--r-- | libguile/environments.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libguile/environments.c b/libguile/environments.c index e907f6f76..70e7dbc0a 100644 --- a/libguile/environments.c +++ b/libguile/environments.c @@ -481,7 +481,7 @@ static int observer_print (SCM type, SCM port, scm_print_state *pstate SCM_UNUSED) { SCM address = scm_ulong2num (SCM_UNPACK (type)); - SCM base16 = scm_number_to_string (address, SCM_I_MAKINUM (16)); + SCM base16 = scm_number_to_string (address, scm_from_int (16)); scm_puts ("#<observer ", port); scm_puts (SCM_STRING_CHARS (base16), port); @@ -745,7 +745,7 @@ core_environments_init (struct core_environments_base *body, { body->funcs = funcs; body->observers = SCM_EOL; - body->weak_observers = scm_make_weak_value_alist_vector (SCM_I_MAKINUM (1)); + body->weak_observers = scm_make_weak_value_alist_vector (scm_from_int (1)); } @@ -979,7 +979,7 @@ static int leaf_environment_print (SCM type, SCM port, scm_print_state *pstate SCM_UNUSED) { SCM address = scm_ulong2num (SCM_UNPACK (type)); - SCM base16 = scm_number_to_string (address, SCM_I_MAKINUM (16)); + SCM base16 = scm_number_to_string (address, scm_from_int (16)); scm_puts ("#<leaf environment ", port); scm_puts (SCM_STRING_CHARS (base16), port); @@ -1339,7 +1339,7 @@ static int eval_environment_print (SCM type, SCM port, scm_print_state *pstate SCM_UNUSED) { SCM address = scm_ulong2num (SCM_UNPACK (type)); - SCM base16 = scm_number_to_string (address, SCM_I_MAKINUM (16)); + SCM base16 = scm_number_to_string (address, scm_from_int (16)); scm_puts ("#<eval environment ", port); scm_puts (SCM_STRING_CHARS (base16), port); @@ -1758,7 +1758,7 @@ import_environment_print (SCM type, SCM port, scm_print_state *pstate SCM_UNUSED) { SCM address = scm_ulong2num (SCM_UNPACK (type)); - SCM base16 = scm_number_to_string (address, SCM_I_MAKINUM (16)); + SCM base16 = scm_number_to_string (address, scm_from_int (16)); scm_puts ("#<import environment ", port); scm_puts (SCM_STRING_CHARS (base16), port); @@ -2063,7 +2063,7 @@ export_environment_print (SCM type, SCM port, scm_print_state *pstate SCM_UNUSED) { SCM address = scm_ulong2num (SCM_UNPACK (type)); - SCM base16 = scm_number_to_string (address, SCM_I_MAKINUM (16)); + SCM base16 = scm_number_to_string (address, scm_from_int (16)); scm_puts ("#<export environment ", port); scm_puts (SCM_STRING_CHARS (base16), port); |