Mercurial > hg > xemacs-beta
diff src/tests.c @ 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 | 6fa9919a9a0b |
children | abdb33cc1f52 |
line wrap: on
line diff
--- a/src/tests.c Sun Feb 26 22:51:04 2006 +0000 +++ b/src/tests.c Mon Feb 27 16:29:29 2006 +0000 @@ -479,7 +479,7 @@ -#ifdef MC_ALLOC +#ifdef NEW_GC #define TESTS_DEFSUBR(Fname) do { \ DEFSUBR_MC_ALLOC (Fname); \ defsubr (S##Fname); \ @@ -487,14 +487,14 @@ Fcons (intern (subr_name (S##Fname)), \ Vtest_function_list); \ } while (0) -#else /* not MC_ALLOC */ +#else /* not NEW_GC */ #define TESTS_DEFSUBR(Fname) do { \ DEFSUBR (Fname); \ Vtest_function_list = \ Fcons (intern (subr_name (&S##Fname)), \ Vtest_function_list); \ } while (0) -#endif /* not MC_ALLOC */ +#endif /* not NEW_GC */ void syms_of_tests (void)