| 1523 | } |
| 1524 | |
| 1525 | static int pl_pkg_name_cmp(const void *a, const void *b) { |
| 1526 | const pl_pkg_t *x = (const pl_pkg_t *)a; |
| 1527 | const pl_pkg_t *y = (const pl_pkg_t *)b; |
| 1528 | int c = pl_name_cmp(x->name, x->len, y->name, y->len); |
| 1529 | return c != 0 ? c : (x->order > y->order) - (x->order < y->order); |
| 1530 | } |
| 1531 | |
| 1532 | static int pl_pkg_order_cmp(const void *a, const void *b) { |
| 1533 | const pl_pkg_t *x = (const pl_pkg_t *)a; |
nothing calls this directly
no test coverage detected