MCPcopy Create free account
hub / github.com/NetHack/NetHack / menualpha_cmp

Function menualpha_cmp

src/botl.c:1345–1351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1343
1344/* qsort callback routine for alphabetical sorting of index */
1345staticfn int QSORTCALLBACK
1346menualpha_cmp(const genericptr vptr1, const genericptr vptr2)
1347{
1348 int indx1 = *(int *) vptr1, indx2 = *(int *) vptr2;
1349
1350 return strcmpi(condtests[indx1].useroption, condtests[indx2].useroption);
1351}
1352
1353int
1354parse_cond_option(boolean negated, char *opts)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected