summaryrefslogtreecommitdiff
path: root/libguile/objects.c
diff options
context:
space:
mode:
authorLudovic Courtes <ludovic.courtes@laas.fr>2006-05-30 21:56:55 +0000
committerLudovic Courtès <ludo@gnu.org>2008-09-10 20:26:35 +0200
commit077644c8a4be1e6ed9b325414018d9db95763b4d (patch)
tree6adbc7d877939ce391f46c6411ef6455680a87f0 /libguile/objects.c
parent5e67dc27e396e3d4f534e028c8cf06d57f7cd508 (diff)
downloadguile-077644c8a4be1e6ed9b325414018d9db95763b4d.tar.gz
Removed unnecessary uses of class destructors.
* libguile/goops.c (scm_sys_inherit_magic_x): Don't invoke `SCM_SET_CLASS_DESTRUCTOR' for legacy destructors that are no longer needed (e.g., `scm_struct_free_entity ()', etc.). * libguile/objects.c (scm_init_objects): Likewise. git-archimport-id: lcourtes@laas.fr--2005-libre/guile-core--boehm-gc--1.9--patch-34
Diffstat (limited to 'libguile/objects.c')
-rw-r--r--libguile/objects.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libguile/objects.c b/libguile/objects.c
index 649d08fe2..c02741abe 100644
--- a/libguile/objects.c
+++ b/libguile/objects.c
@@ -346,7 +346,6 @@ scm_init_objects ()
scm_c_define ("<operator-class>", ot);
scm_metaclass_operator = ot;
SCM_SET_CLASS_FLAGS (et, SCM_CLASSF_OPERATOR | SCM_CLASSF_ENTITY);
- SCM_SET_CLASS_DESTRUCTOR (et, scm_struct_free_entity);
scm_c_define ("<entity>", et);
#include "libguile/objects.x"