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

Function is_wc_option

src/options.c:9898–9909  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9896}
9897
9898staticfn boolean
9899is_wc_option(const char *optnam)
9900{
9901 int k = 0;
9902
9903 while (wc_options[k].wc_name) {
9904 if (strcmp(wc_options[k].wc_name, optnam) == 0)
9905 return TRUE;
9906 k++;
9907 }
9908 return FALSE;
9909}
9910
9911staticfn boolean
9912wc_supported(const char *optnam)

Callers 4

longest_option_nameFunction · 0.85
doset_simple_menuFunction · 0.85
dosetFunction · 0.85
option_helpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected