Branch: Tag:

2011-03-06

2011-03-06 00:20:41 by Martin Stjernholm <mast@lysator.liu.se>

Note that destructed objects sort close to real zeroes.

1012:    return a->subtype - b->subtype;       /* Destructed objects are considered equal to each other, and -  * (arbitrarily chosen) greater than others. */ +  * greater than others. That makes them sort close to real zeroes, +  * which are sorted after objects without compare functions. */    if (!a->u.object->prog)    return !b->u.object->prog ? 0 : 1;    else if (!b->u.object->prog)