pike.git / src / array.c

version» Context lines:

pike.git/src/array.c:16:   #include "pike_types.h"   #include "fsort.h"   #include "builtin_functions.h"   #include "pike_memory.h"   #include "gc.h"   #include "main.h"   #include "security.h"   #include "stuff.h"   #include "bignum.h"    - RCSID("$Id: array.c,v 1.63 2000/03/26 01:53:58 mast Exp $"); + RCSID("$Id: array.c,v 1.64 2000/04/22 13:20:39 mast Exp $");      struct array empty_array=   {    1, /* Never free */   #ifdef PIKE_SECURITY    0,   #endif    &empty_array, /* Next */    &empty_array, /* previous (circular) */    0, /* Size = 0 */
pike.git/src/array.c:97:    struct array *next,*prev;       next = v->next;    prev = v->prev;       v->prev->next=next;    v->next->prev=prev;       free((char *)v);    -  GC_FREE(); +  GC_FREE(v);   }      /*    * Free an array, call this when the array has zero references    */   void really_free_array(struct array *v)   {   #ifdef PIKE_DEBUG    if(v == & empty_array)    fatal("Tried to free the empty_array.\n");