pike.git / src / mapping.c

version» Context lines:

pike.git/src/mapping.c:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/   /**/   #include "global.h" - RCSID("$Id: mapping.c,v 1.88 2000/07/03 16:50:09 mast Exp $"); + RCSID("$Id: mapping.c,v 1.89 2000/07/03 20:14:07 mast Exp $");   #include "main.h"   #include "object.h"   #include "mapping.h"   #include "svalue.h"   #include "array.h"   #include "pike_macros.h"   #include "error.h"   #include "pike_memory.h"   #include "dynamic_buffer.h"   #include "interpret.h"
pike.git/src/mapping.c:1807: Inside #if defined(PIKE_DEBUG)
  void check_all_mappings(void)   {    struct mapping *m;    for(m=first_mapping;m;m=m->next)    check_mapping(m);   }   #endif         static void gc_recurse_weak_mapping(struct mapping *m, -  TYPE_FIELD (*recurse_fn)(struct svalue *, int)) +  TYPE_FIELD (*recurse_fn)(struct svalue *, size_t))   {    INT32 e;    struct keypair *k,**prev;    TYPE_FIELD ind_types = 0, val_types = 0;    struct mapping_data *md=m->data;      #ifdef PIKE_DEBUG    if(!(m->flags & MAPPING_FLAG_WEAK))    fatal("Mapping is not weak.\n");   #endif