pike.git / src / mapping.c

version» Context lines:

pike.git/src/mapping.c:1:   /*   || 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: mapping.c,v 1.187 2006/06/21 11:33:01 mast Exp $ + || $Id: mapping.c,v 1.188 2006/07/05 19:24:18 mast Exp $   */      #include "global.h"   #include "main.h"   #include "object.h"   #include "mapping.h"   #include "svalue.h"   #include "array.h"   #include "pike_macros.h"   #include "pike_error.h"
pike.git/src/mapping.c:110:   #endif /* !PIKE_MAPPING_KEYPAIR_LOOP */      #ifdef PIKE_DEBUG      /** This function checks that the type field isn't lacking any bits.    * It is used for debugging purposes only.    */   static void check_mapping_type_fields(struct mapping *m)   {    INT32 e; -  struct keypair *k=0,**prev; +  struct keypair *k=0;    struct mapping_data *md;    TYPE_FIELD ind_types, val_types;       ind_types=val_types=0;       md = m->data;    NEW_MAPPING_LOOP(md)    {    val_types |= 1 << k->val.type;    ind_types |= 1 << k->ind.type;