MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / pl_pkg_order_cmp

Function pl_pkg_order_cmp

internal/cbm/doclink_perl.c:1532–1536  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1530}
1531
1532static int pl_pkg_order_cmp(const void *a, const void *b) {
1533 const pl_pkg_t *x = (const pl_pkg_t *)a;
1534 const pl_pkg_t *y = (const pl_pkg_t *)b;
1535 return (x->order > y->order) - (x->order < y->order);
1536}
1537
1538/* Give every declaration the index of its name's P record (names in order of
1539 * their first declaration) and write the P records. */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected