summaryrefslogtreecommitdiffstats
path: root/byterun/memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'byterun/memory.h')
-rw-r--r--byterun/memory.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/byterun/memory.h b/byterun/memory.h
index 252873e57..95f0a6c99 100644
--- a/byterun/memory.h
+++ b/byterun/memory.h
@@ -97,10 +97,16 @@ extern value *local_roots;
#define Pop_roots() {local_roots = (value *) local_roots [1]; }
/* [register_global_root] registers a global C variable as a memory root
- for the duration of the program. */
+ for the duration of the program, or until [remove_global_root] is
+ called. */
void register_global_root P((value *));
+/* [remove_global_root] removes a memory root registered on a global C
+ variable with [register_global_root]. */
+
+void remove_global_root P((value *));
+
#endif /* _memory_ */