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.53 2000/01/29 13:42:13 mirar Exp $"); + RCSID("$Id: mapping.c,v 1.54 2000/01/31 03:24:05 hubbe Exp $");   #include "main.h"   #include "object.h"   #include "mapping.h"   #include "svalue.h"   #include "array.h"   #include "pike_macros.h"   #include "language.h"   #include "error.h"   #include "pike_memory.h"   #include "dynamic_buffer.h"
pike.git/src/mapping.c:397:    break); \    free_mapping_data(md); \   }while(0)         /* Assumes md is *NOT* locked */   #define COPYMAP2() do { \    long off; \    m->data=copy_mapping_data(m->data); \    debug_malloc_touch(m->data); \ -  if(d_flag>1) check_mapping(m); \ +  DO_IF_DEBUG( if(d_flag>1) check_mapping(m); ) \    off=((char *)m->data)-((char *)md); \    LOW_RELOC(k); \    LOW_RELOC(prev); \    md=m->data; \   }while(0)      #define PREPARE_FOR_DATA_CHANGE2() \    if(md->valrefs) COPYMAP2()      #define PREPARE_FOR_INDEX_CHANGE2() \