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.172 2003/09/23 22:26:56 mast Exp $ + || $Id: mapping.c,v 1.173 2003/11/09 01:10:14 mast Exp $   */      #include "global.h" - RCSID("$Id: mapping.c,v 1.172 2003/09/23 22:26:56 mast Exp $"); + RCSID("$Id: mapping.c,v 1.173 2003/11/09 01:10:14 mast 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:2436:    unreferenced++;    }       return unreferenced;   }      #ifdef PIKE_DEBUG      void simple_describe_mapping(struct mapping *m)   { +  dynamic_buffer save_buf;    char *s; -  init_buf(); +  init_buf(&save_buf);    describe_mapping(m,0,2); -  s=simple_free_buf(); +  s=simple_free_buf(&save_buf);    fprintf(stderr,"%s\n",s);    free(s);   }         void debug_dump_mapping(struct mapping *m)   {    fprintf(stderr, "Refs=%d, next=%p, prev=%p",    m->refs, m->next, m->prev);    if (((ptrdiff_t)m->data) & 3) {