pike.git / src / array.c

version» Context lines:

pike.git/src/array.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: array.c,v 1.172 2004/09/27 21:47:49 nilsson Exp $ + || $Id: array.c,v 1.173 2004/09/30 14:00:13 mast Exp $   */      #include "global.h"   #include "svalue.h"   #include "array.h"   #include "object.h"   #include "las.h"   #include "stralloc.h"   #include "interpret.h"   #include "opcodes.h"
pike.git/src/array.c:62: Inside #if defined(TRACE_UNFINISHED_TYPE_FIELDS)
   accept_unfinished_type_fields = (int) orig;   }   #endif         /* Allocate an array, this might be changed in the future to    * allocate linked lists or something    * NOTE: the new array has zero references    */    - PMOD_EXPORT struct array *low_allocate_array(ptrdiff_t size, + PMOD_EXPORT struct array *real_allocate_array(ptrdiff_t size,    ptrdiff_t extra_space)   {    struct array *v;    ptrdiff_t e;       if(size+extra_space == 0)    {    add_ref(&empty_array);    return &empty_array;    }