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.26 1998/03/03 11:24:34 hubbe Exp $"); + RCSID("$Id: mapping.c,v 1.27 2001/08/09 18:52:57 mast 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:835:    }    }       ret=allocate_mapping(MAP_SLOTS(m->size));    doing.pointer_b=ret;       check_stack(2);       LOOP(m)    { -  copy_svalues_recursively_no_free(sp,&k->ind, 1, p); +  copy_svalues_recursively_no_free(sp,&k->ind, 1, &doing);    sp++; -  copy_svalues_recursively_no_free(sp,&k->val, 1, p); +  copy_svalues_recursively_no_free(sp,&k->val, 1, &doing);    sp++;       mapping_insert(ret, sp-2, sp-1);    pop_n_elems(2);    }       return ret;   }