From e7aa503dfd253ae9b1662321e36511cd53fb400a Mon Sep 17 00:00:00 2001 From: "beard%netscape.com" Date: Thu, 30 Sep 1999 05:14:39 +0000 Subject: [PATCH] added GC_remove_roots. --- gc/boehm/gc.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gc/boehm/gc.h b/gc/boehm/gc.h index ceabb02f6eb6..0ffe8792bbad 100644 --- a/gc/boehm/gc.h +++ b/gc/boehm/gc.h @@ -239,6 +239,11 @@ GC_API void GC_clear_roots GC_PROTO((void)); GC_API void GC_add_roots GC_PROTO((char * low_address, char * high_address_plus_1)); +/* Remove a root segment. Wizards only. */ +GC_API void GC_remove_roots GC_PROTO((char * low_address, + char * high_address_plus_1)); + + /* Add a displacement to the set of those considered valid by the */ /* collector. GC_register_displacement(n) means that if p was returned */ /* by GC_malloc, then (char *)p + n will be considered to be a valid */