From f41e4530ffbb15fa61eeb54b2cc176a278465146 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. git-svn-id: svn://10.0.0.236/trunk@49402 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/gc/boehm/gc.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mozilla/gc/boehm/gc.h b/mozilla/gc/boehm/gc.h index ceabb02f6eb..0ffe8792bba 100644 --- a/mozilla/gc/boehm/gc.h +++ b/mozilla/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 */