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

Function extcmds_getentry

src/cmd.c:2100–2106  ·  view source on GitHub ↗

get entry i in the extended commands list. for windowport use. */

Source from the content-addressed store, hash-verified

2098
2099/* get entry i in the extended commands list. for windowport use. */
2100struct ext_func_tab *
2101extcmds_getentry(int i)
2102{
2103 if (i < 0 || i > extcmdlist_length)
2104 return 0;
2105 return &extcmdlist[i];
2106}
2107
2108/* get the command bound to a key */
2109staticfn struct Cmd_bind *

Callers 3

ext_cmd_getlin_hookFunction · 0.85
curses_ext_cmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected