pike.git/
src/
array.c
Branch:
Tag:
Non-build tags
All tags
No tags
2011-03-06
2011-03-06 00:20:41 by Martin Stjernholm <mast@lysator.liu.se>
ec25f9b7161c58e941475cbe7b86fc4b13aede25 (
4
lines) (+
3
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
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)