Branch: Tag:


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

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: array.h,v 1.60 2004/05/13 23:28:50 nilsson Exp $ + || $Id: array.h,v 1.61 2004/05/28 16:08:24 grubba Exp $   */      #ifndef ARRAY_H
164:   PMOD_EXPORT struct array *explode(struct pike_string *str,    struct pike_string *del);   PMOD_EXPORT struct pike_string *implode(struct array *a,struct pike_string *del); - PMOD_EXPORT struct array *copy_array_recursively(struct array *a,struct processing *p); + PMOD_EXPORT struct array *copy_array_recursively(struct array *a, +  struct mapping *p);   PMOD_EXPORT void apply_array(struct array *a, INT32 args);   PMOD_EXPORT struct array *reverse_array(struct array *a);   void array_replace(struct array *a,