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

Function pl_pkg_name_cmp

internal/cbm/doclink_perl.c:1525–1530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1523}
1524
1525static 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
1532static int pl_pkg_order_cmp(const void *a, const void *b) {
1533 const pl_pkg_t *x = (const pl_pkg_t *)a;

Callers

nothing calls this directly

Calls 1

pl_name_cmpFunction · 0.85

Tested by

no test coverage detected