summaryrefslogtreecommitdiff
path: root/libguile/gc.c
diff options
context:
space:
mode:
authorMarius Vollmer <mvo@zagadka.de>2004-07-27 15:41:49 +0000
committerMarius Vollmer <mvo@zagadka.de>2004-07-27 15:41:49 +0000
commitbc36d0502b9b2ac7e43ded2e1fbeed2f1499bb1d (patch)
treedafd9e49525c8b5e1ccee4f39b5b720522a93dc3 /libguile/gc.c
parentc82f8ed66ca55da796cb6289f380aaed2e5e34bb (diff)
downloadguile-bc36d0502b9b2ac7e43ded2e1fbeed2f1499bb1d.tar.gz
* tags.h, deprecated.h (SCM_EQ_P): Deprecated by moving it into
deprecated.h. Replaced all uses with scm_is_eq.
Diffstat (limited to 'libguile/gc.c')
-rw-r--r--libguile/gc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libguile/gc.c b/libguile/gc.c
index 21657dc24..d87e88d2f 100644
--- a/libguile/gc.c
+++ b/libguile/gc.c
@@ -185,7 +185,7 @@ SCM_DEFINE (scm_set_debug_cell_accesses_x, "set-debug-cell-accesses!", 1, 0, 0,
{
scm_debug_cell_accesses_p = 0;
}
- else if (SCM_EQ_P (flag, SCM_BOOL_T))
+ else if (scm_is_eq (flag, SCM_BOOL_T))
{
scm_debug_cells_gc_interval = 0;
scm_debug_cell_accesses_p = 1;
@@ -746,7 +746,7 @@ scm_gc_unprotect_object (SCM obj)
else
{
SCM count = scm_difference (SCM_CDR (handle), scm_from_int (1));
- if (SCM_EQ_P (count, scm_from_int (0)))
+ if (scm_is_eq (count, scm_from_int (0)))
scm_hashq_remove_x (scm_protects, obj);
else
SCM_SETCDR (handle, count);
@@ -793,7 +793,7 @@ scm_gc_unregister_root (SCM *p)
else
{
SCM count = scm_difference (SCM_CDR (handle), scm_from_int (1));
- if (SCM_EQ_P (count, scm_from_int (0)))
+ if (scm_is_eq (count, scm_from_int (0)))
scm_hashv_remove_x (scm_gc_registered_roots, key);
else
SCM_SETCDR (handle, count);