Fix initialization of the SMOB GC "kind".
authorLudovic Courtès <ludo@gnu.org>
Fri, 31 Oct 2008 20:55:55 +0000 (21:55 +0100)
committerLudovic Courtès <ludo@gnu.org>
Fri, 31 Oct 2008 20:55:55 +0000 (21:55 +0100)
commit627796347f04312b69a869e62dc3ce69f785da55
tree9a3db25c7584df3ae5b980b5115c27584e1d614c
parent47b6e9bd8ea4c19404a990688c57f76d27f7768d
Fix initialization of the SMOB GC "kind".

* libguile/smob.c (scm_smob_prehistory): When initializing
  SMOB_GC_KIND, pass 1 as the CLEAR_NEW_OBJECTS argument to
  `GC_new_kind ()'.  Without this, an assertion failure is
  triggered in libgc's `reclaim.c'.
libguile/smob.c