Branch: Tag:

2004-05-28

2004-05-28 16:08:24 by Henrik Grubbström (Grubba) <grubba@grubba.org>

copy_svalues_recursively_no_free() et al now preserve identity relations.
Fixes [bug 3693 (#3693)].
Note that this is a (minor) API change (struct processing * ==> struct mapping *).
Added a few const's.

Rev: src/array.c:1.160
Rev: src/array.h:1.61
Rev: src/mapping.c:1.181
Rev: src/mapping.h:1.56
Rev: src/multiset.c:1.86
Rev: src/multiset.h:1.35
Rev: src/svalue.c:1.194
Rev: src/svalue.h:1.129

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: svalue.h,v 1.128 2004/04/03 18:24:39 mast Exp $ + || $Id: svalue.h,v 1.129 2004/05/28 16:08:24 grubba Exp $   */      #ifndef SVALUE_H
593:   PMOD_EXPORT void copy_svalues_recursively_no_free(struct svalue *to,    const struct svalue *from,    size_t num, -  struct processing *p); +  struct mapping *m);   void check_short_svalue(const union anything *u, TYPE_T type);   void debug_check_svalue(const struct svalue *s);   void debug_check_type_hint (const struct svalue *svals, size_t num, TYPE_FIELD type_hint);