* gc.h (SCM_[SET_]CELL_{WORD,OBJECT}, SCM_VALIDATE_CELL): brought
authorMichael Livshin <mlivshin@bigfoot.com>
Sun, 21 May 2000 20:49:20 +0000 (20:49 +0000)
committerMichael Livshin <mlivshin@bigfoot.com>
Sun, 21 May 2000 20:49:20 +0000 (20:49 +0000)
commit686765af618887390b43fc86329e5fccabe0ef68
treef0b2d2efd449ab83fb22aa3474bcba192c5c3f3c
parentb80e8a60e7c6ee3c9eda247fe2a394276dbc54b2
* gc.h (SCM_[SET_]CELL_{WORD,OBJECT}, SCM_VALIDATE_CELL): brought
the yucky, ugly and nasty conditional compilation back.  sorry,
but it was either that or requiring GAWK to build Guile.
removed the code that implemented the old GC scheme.

* init.c (scm_boot_guile_1): removed the code conditioned on
!GUILE_NEW_GC_SCHEME.

* __scm.h: (GUILE_NEW_GC_SCHEME): removed.

* gc.c (scm_protect_object, scm_unprotect_object): change the
implementation to more efficient (at least in the time complexity
sense).  the calls should now also be thread-safe -- I suspect
that people expect them to be.  (thanks to Han-Wen Nienhuys)
removed the code that implemented the old GC scheme.

* hashtab.c (scm_hash_fn_create_handle_x): add missing
SCM_REALLOW_INTS before return.
libguile/ChangeLog
libguile/__scm.h
libguile/gc.c
libguile/gc.h
libguile/hashtab.c
libguile/init.c