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

Function is_wc2_option

src/options.c:9952–9963  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9950}
9951
9952staticfn boolean
9953is_wc2_option(const char *optnam)
9954{
9955 int k = 0;
9956
9957 while (wc2_options[k].wc_name) {
9958 if (strcmp(wc2_options[k].wc_name, optnam) == 0)
9959 return TRUE;
9960 k++;
9961 }
9962 return FALSE;
9963}
9964
9965staticfn boolean
9966wc2_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