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

Function splev_chr2typ

src/nhlua.c:381–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379};
380
381schar
382splev_chr2typ(char c)
383{
384 int i;
385
386 for (i = 0; char2typ[i].ch; i++)
387 if (c == char2typ[i].ch)
388 return char2typ[i].typ;
389 return (INVALID_TYPE);
390}
391
392schar
393check_mapchr(const char *s)

Callers 2

check_mapchrFunction · 0.85
mapfrag_getFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected