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.95 2000/08/07 09:45:44 grubba Exp $"); + RCSID("$Id: mapping.c,v 1.96 2000/08/07 09:46:18 grubba 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:487:    h=h2 % md->hashsize; \    *prev=k->next; \    k->next=md->hash[h]; \    md->hash[h]=k; \    } \    }while(0)         /* Assumes md is locked */   #define COPYMAP() do { \ -  long off; \ +  ptrdiff_t off; \    m->data=copy_mapping_data(m->data); \    debug_malloc_touch(m->data); \    off=((char *)m->data)-((char *)md); \    LOW_RELOC(k); \    free_mapping_data(md); \    md=m->data; \    md->refs++; \   }while(0)      #define PREPARE_FOR_DATA_CHANGE() \