pike.git / src / array.c

version» Context lines:

pike.git/src/array.c:23:   #include "multiset.h"   #include "mapping.h"   #include "bignum.h"   #include "pike_search.h"      /** The empty array. */   PMOD_EXPORT struct array empty_array=   {    PIKE_CONSTANT_MEMOBJ_INIT(1, PIKE_T_ARRAY), /* Never free */    0, /* Size = 0 */ -  GC_HEADER_INIT(), +     0, /* malloced Size = 0 */    0, /* no types */    0, /* no flags */    &weak_empty_array, /* Next */    0, /* previous */    empty_array.real_item, /* Initialize the item pointer. */    {SVALUE_INIT_FREE},   };      /** The empty weak array. */   PMOD_EXPORT struct array weak_empty_array=   {    PIKE_CONSTANT_MEMOBJ_INIT(1, PIKE_T_ARRAY), /* Never free */    0, /* Size = 0 */ -  GC_HEADER_INIT(), +     0, /* malloced Size = 0 */    0, /* no types */    ARRAY_WEAK_FLAG, /* weak */    0, /* next */    &empty_array, /* previous */    weak_empty_array.real_item, /* Initialize the item pointer. */    {SVALUE_INIT_FREE},   };      struct array *first_array = &empty_array;