Use `GC_base ()' to determine whether a pointer points to the heap.
authorLudovic Courtès <ludo@gnu.org>
Sun, 1 Feb 2009 20:59:32 +0000 (21:59 +0100)
committerLudovic Courtès <ludo@gnu.org>
Sun, 1 Feb 2009 20:59:32 +0000 (21:59 +0100)
commit475461b7a02a5350af7cfb972826e155f3aab3c4
tree85d0c7184724d201f956efc3fd2fcfa7a7792ecc
parent9b41542f4d03c3b59ff458f3569688fbd8fb8bc1
Use `GC_base ()' to determine whether a pointer points to the heap.

* libguile/boehm-gc.h (SCM_I_IS_POINTER_TO_THE_HEAP): Use `GC_base ()'
  instead of `GC_{least,greatest}_plausible_heap addr' since the GC does
  not assume that the heap is contiguous (suggested by Ivan Maidanski
  and Hans Boehm).
libguile/boehm-gc.h