Branch: Tag:

2001-09-25

2001-09-25 05:55:13 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

fix for [bug 1858 (#1858)] (this_object() in constants)

Rev: src/array.c:1.119
Rev: src/array.h:1.38
Rev: src/mapping.c:1.138
Rev: src/mapping.h:1.40
Rev: src/multiset.c:1.39
Rev: src/multiset.h:1.19
Rev: src/program.c:1.373
Rev: src/svalue.c:1.125
Rev: src/svalue.h:1.97

5:   \*/      /* -  * $Id: svalue.h,v 1.96 2001/08/20 18:06:55 mast Exp $ +  * $Id: svalue.h,v 1.97 2001/09/25 05:55:13 hubbe Exp $    */   #ifndef SVALUE_H   #define SVALUE_H
468:   PMOD_EXPORT void really_free_svalue(struct svalue *s);   PMOD_EXPORT void do_free_svalue(struct svalue *s);   PMOD_EXPORT void debug_free_svalues(struct svalue *s, size_t num, INT32 type_hint DMALLOC_LINE_ARGS); + PMOD_EXPORT void debug_free_mixed_svalues(struct svalue *s, size_t num, INT32 type_hint DMALLOC_LINE_ARGS);   PMOD_EXPORT void assign_svalues_no_free(struct svalue *to,    const struct svalue *from,    size_t num,
527:   TYPE_FIELD gc_cycle_check_weak_svalues(struct svalue *s, size_t num);   PMOD_EXPORT int real_gc_cycle_check_short_svalue(union anything *u, TYPE_T type);   int gc_cycle_check_weak_short_svalue(union anything *u, TYPE_T type); - #define gc_cycle_check_without_recurse gc_mark_without_recurse - #define gc_cycle_check_weak_without_recurse gc_mark_without_recurse +    void real_gc_free_svalue(struct svalue *s);   void real_gc_free_short_svalue(union anything *u, TYPE_T type);   PMOD_EXPORT INT32 pike_sizeof(const struct svalue *s); -  + int svalues_are_constant(struct svalue *s, +  INT32 num, +  TYPE_FIELD hint, +  struct processing *p);   /* Prototypes end here */    -  + #define gc_cycle_check_without_recurse gc_mark_without_recurse + #define gc_cycle_check_weak_without_recurse gc_mark_without_recurse +    #define gc_xmark_svalues(S,N) real_gc_xmark_svalues(dmalloc_check_svalue(S,DMALLOC_LOCATION()),N)   #define gc_check_svalues(S,N) real_gc_check_svalues(dmalloc_check_svalue(S,DMALLOC_LOCATION()),N)   #define gc_check_short_svalue(U,T) real_gc_check_short_svalue(dmalloc_check_union((U),(T),DMALLOC_LOCATION()),T)