Branch: Tag:

2014-12-04

2014-12-04 19:23:38 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++;    }    }