comparison src/alloc.c @ 32699:52f570fdddce

Move #ifdef GC_MARK_STACK back above mem_init where it used to be. mem_z etc not defined otherwise.
author Jason Rumney <jasonr@gnu.org>
date Fri, 20 Oct 2000 18:45:17 +0000
parents 0343fe9ef3ac
children 25c6c2562e31
comparison
equal deleted inserted replaced
32698:b47c2ac2469c 32699:52f570fdddce
2528 2528
2529 /************************************************************************ 2529 /************************************************************************
2530 C Stack Marking 2530 C Stack Marking
2531 ************************************************************************/ 2531 ************************************************************************/
2532 2532
2533 #if GC_MARK_STACK
2533 /* Initialize this part of alloc.c. */ 2534 /* Initialize this part of alloc.c. */
2534 2535
2535 static void 2536 static void
2536 mem_init () 2537 mem_init ()
2537 { 2538 {
3071 return (m->type == MEM_TYPE_BUFFER 3072 return (m->type == MEM_TYPE_BUFFER
3072 && p == m->start 3073 && p == m->start
3073 && !NILP (((struct buffer *) p)->name)); 3074 && !NILP (((struct buffer *) p)->name));
3074 } 3075 }
3075 3076
3076 #if GC_MARK_STACK
3077
3078 #if GC_MARK_STACK == GC_USE_GCPROS_CHECK_ZOMBIES 3077 #if GC_MARK_STACK == GC_USE_GCPROS_CHECK_ZOMBIES
3079 3078
3080 /* Array of objects that are kept alive because the C stack contains 3079 /* Array of objects that are kept alive because the C stack contains
3081 a pattern that looks like a reference to them . */ 3080 a pattern that looks like a reference to them . */
3082 3081