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.158 2003/01/09 15:21:26 grubba Exp $ + || $Id: mapping.c,v 1.159 2003/01/10 12:49:03 grubba Exp $   */      #include "global.h" - RCSID("$Id: mapping.c,v 1.158 2003/01/09 15:21:26 grubba Exp $"); + RCSID("$Id: mapping.c,v 1.159 2003/01/10 12:49:03 grubba Exp $");   #include "main.h"   #include "object.h"   #include "mapping.h"   #include "svalue.h"   #include "array.h"   #include "pike_macros.h"   #include "pike_error.h"   #include "pike_memory.h"   #include "dynamic_buffer.h"   #include "interpret.h"
pike.git/src/mapping.c:35:   static struct mapping *gc_mark_mapping_pos = 0;      #define unlink_mapping_data(M) do{ \    struct mapping_data *md_=(M); \    if(md_->hardlinks) { md_->hardlinks--; md_->valrefs--; } \    free_mapping_data(M); \   }while(0)         #define MAPPING_DATA_SIZE(HSIZE, KEYPAIRS) \ -  (ptrdiff_t)( MD_KEYPAIRS(0, HSIZE) + KEYPAIRS ) +  (((char *)(MD_KEYPAIRS(0, HSIZE) + KEYPAIRS))-(char *)0)            #undef EXIT_BLOCK   #define EXIT_BLOCK(m) do{ \   DO_IF_DEBUG( \    if(m->refs) { \    DO_IF_DMALLOC(describe_something(m, T_MAPPING, 0,2,0, NULL)); \    Pike_fatal("really free mapping on mapping with %d refs.\n", m->refs); \    } \