Fixed `scm_gc_register_finalizer ()' to avoid bootstrap problem.
authorLudovic Courtes <ludovic.courtes@laas.fr>
Tue, 23 May 2006 21:59:14 +0000 (21:59 +0000)
committerLudovic Courtès <ludo@gnu.org>
Fri, 5 Sep 2008 07:33:38 +0000 (09:33 +0200)
commit53cc0209fad717f4a72f42dfd5ab4d71889d0ccb
tree41e1a844d484fcdda3d2e20bfc7715e2d3313ac5
parentfebd2677c9b1028bc3cd30401672ccc7e3314199
Fixed `scm_gc_register_finalizer ()' to avoid bootstrap problem.

* libguile/gc.c (finalizer_trampoline): Don't use `scm_call_2 ()' to
  invoke the finalizer: directly call the C function instead.
  (scm_gc_register_finalizer): Don't create a real subr with
  `scm_c_make_gsubr ()': simply convert the C function pointer to an
  `SCM' object instead.

git-archimport-id: lcourtes@laas.fr--2005-libre/guile-core--boehm-gc--1.9--patch-24
libguile/gc.c