Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/NetHack/NetHack
/ check_mapchr
Function
check_mapchr
src/nhlua.c:392–398 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
390
}
391
392
schar
393
check_mapchr(const char *s)
394
{
395
if (s && strlen(s) == 1)
396
return splev_chr2typ(s[0]);
397
return INVALID_TYPE;
398
}
399
400
staticfn char
401
splev_typ2chr(schar typ)
Callers
4
get_table_mapchr
Function · 0.85
get_table_mapchr_opt
Function · 0.85
l_selection_filter_mapchar
Function · 0.85
lspo_terrain
Function · 0.85
Calls
1
splev_chr2typ
Function · 0.85
Tested by
no test coverage detected