static JSOBJ newArray()

in src/ujdecode.c [280:289]


static JSOBJ newArray(void *context)
{
	struct DecoderState *ds = context;
	ArrayItem *ai = (ArrayItem *) alloc(ds, sizeof(ArrayItem));
	ai->head = NULL;
	ai->tail = NULL;
	ai->length = 0;
	ai->item.type = UJT_Array;
	return (JSOBJ) ai;
}