Mercurial > hg > xemacs-beta
diff src/gc.h @ 3263:d674024a8674
[xemacs-hg @ 2006-02-27 16:29:00 by crestani]
- Introduce a fancy asynchronous finalization strategy on C level.
- Merge the code conditioned on MC_ALLOC into the code conditioned on
NEW_GC.
- Remove the possibility to free objects manually outside garbage
collections when the new collector is enabled.
author | crestani |
---|---|
date | Mon, 27 Feb 2006 16:29:29 +0000 |
parents | 141c2920ea48 |
children | 509d2981ffea |
line wrap: on
line diff
--- a/src/gc.h Sun Feb 26 22:51:04 2006 +0000 +++ b/src/gc.h Mon Feb 27 16:29:29 2006 +0000 @@ -169,11 +169,15 @@ alloc.c to gc.c. */ void gc_sweep_1 (void); -#ifndef MC_ALLOC extern void *breathing_space; -#endif /* not MC_ALLOC */ #endif /* not NEW_GC */ +#ifdef NEW_GC +void add_finalizable_obj (Lisp_Object obj); +void register_for_finalization (void); +void run_finalizers (void); +#endif /* NEW_GC */ + END_C_DECLS #endif /* INCLUDED_gc_h_ */