Branch: Tag:

2000-04-12

2000-04-12 10:39:24 by Henrik Grubbström (Grubba) <grubba@grubba.org>

More gc() debug.

Rev: src/svalue.c:1.66
Rev: src/svalue.h:1.50

5:   \*/      /* -  * $Id: svalue.h,v 1.49 2000/04/08 02:01:09 hubbe Exp $ +  * $Id: svalue.h,v 1.50 2000/04/12 10:39:09 grubba Exp $    */   #ifndef SVALUE_H   #define SVALUE_H
338:   TYPE_FIELD real_gc_check_svalues(struct svalue *s, int num);   void real_gc_xmark_svalues(struct svalue *s, int num);   void real_gc_check_short_svalue(union anything *u, TYPE_T type); - void gc_mark_svalues(struct svalue *s, int num); - void gc_mark_short_svalue(union anything *u, TYPE_T type); + void debug_gc_mark_svalues(struct svalue *s, int num); + void debug_gc_mark_short_svalue(union anything *u, TYPE_T type);   INT32 pike_sizeof(struct svalue *s);   /* Prototypes end here */    -  + #define gc_mark_svalues(S,N) debug_gc_mark_svalues(debug_malloc_pass(S),N) + #define gc_mark_short_svalue(U,N) debug_gc_mark_short_svalue(debug_malloc_pass(U),N) +    #ifndef NO_PIKE_SHORTHAND      #define T_ARRAY PIKE_T_ARRAY