summaryrefslogtreecommitdiff
path: root/libguile/root.h
diff options
context:
space:
mode:
authorLudovic Courtes <ludovic.courtes@laas.fr>2006-11-27 00:16:27 +0000
committerLudovic Courtès <ludo@gnu.org>2008-09-10 22:19:30 +0200
commit8e7b3e98072ef30557a0396367ae8b42170e5507 (patch)
tree9cf37418cb872daca165a6b250b44565b6d18e08 /libguile/root.h
parentfdab75a144580898b4917e01191df1f1875c5a1f (diff)
downloadguile-8e7b3e98072ef30557a0396367ae8b42170e5507.tar.gz
Removed `scm_gc_registered_roots' and `scm_permobjs'.
* libguile/gc.c (scm_permanent_object): Use `scm_gc_protect_object ()'. (scm_gc_register_root): Do nothing. (scm_init_storage): Removed initialization of `scm_permobjs' and `scm_gc_register_roots'. * libguile/root.h (scm_permobjs): Removed. (scm_gc_registered_roots): Removed. git-archimport-id: lcourtes@laas.fr--2005-libre/guile-core--boehm-gc--1.9--patch-50
Diffstat (limited to 'libguile/root.h')
-rw-r--r--libguile/root.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/libguile/root.h b/libguile/root.h
index 6c7800f5f..21cd8a380 100644
--- a/libguile/root.h
+++ b/libguile/root.h
@@ -35,13 +35,11 @@
#define scm_keyword_obarray scm_sys_protects[4]
#define scm_stand_in_procs scm_sys_protects[5]
#define scm_object_whash scm_sys_protects[6]
-#define scm_permobjs scm_sys_protects[7]
-#define scm_asyncs scm_sys_protects[8]
-#define scm_protects scm_sys_protects[9]
-#define scm_properties_whash scm_sys_protects[10]
-#define scm_gc_registered_roots scm_sys_protects[11]
-#define scm_source_whash scm_sys_protects[12]
-#define SCM_NUM_PROTECTS 13
+#define scm_asyncs scm_sys_protects[7]
+#define scm_protects scm_sys_protects[8]
+#define scm_properties_whash scm_sys_protects[9]
+#define scm_source_whash scm_sys_protects[10]
+#define SCM_NUM_PROTECTS 11
SCM_API SCM scm_sys_protects[];