Branch: Tag:

2004-05-13

2004-05-13 23:28:50 by Martin Nilsson <mani@lysator.liu.se>

Essentailly all callers of array_fix_type_field uses the type_field afterwards, so why not return it as well.

Rev: src/array.c:1.159
Rev: src/array.h:1.60

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.59 2004/04/18 02:16:05 mast Exp $ + || $Id: array.h,v 1.60 2004/05/13 23:28:50 nilsson Exp $   */      #ifndef ARRAY_H
124:   INT32 switch_lookup(struct array *a, struct svalue *s);   PMOD_EXPORT struct array *order_array(struct array *v, INT32 *order);   PMOD_EXPORT struct array *reorder_and_copy_array(struct array *v, INT32 *order); - PMOD_EXPORT void array_fix_type_field(struct array *v); + PMOD_EXPORT TYPE_FIELD array_fix_type_field(struct array *v);   #ifdef PIKE_DEBUG   void array_check_type_field(struct array *v);   #endif