Branch: Tag:

2013-06-11

2013-06-11 20:22:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added macro REFCOUNTED_TYPE().

This is to simplify renumbering of the types.

417:    int e = v->size;    struct svalue *s = ITEM(ret);    while (e--) { -  if (TYPEOF(*s) <= MAX_REF_TYPE) add_ref(s->u.dummy); +  if (REFCOUNTED_TYPE(TYPEOF(*s))) add_ref(s->u.dummy);    s++;    }    }