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

Function nhl_impossible

src/nhlua.c:619–629  ·  view source on GitHub ↗

impossible("Error!") */

Source from the content-addressed store, hash-verified

617
618/* impossible("Error!") */
619staticfn int
620nhl_impossible(lua_State *L)
621{
622 int argc = lua_gettop(L);
623
624 if (argc == 1)
625 impossible("%s", luaL_checkstring(L, 1));
626 else
627 nhl_error(L, "Wrong args");
628 return 0;
629}
630
631/* pline("It hits!") */
632/* pline("It hits!", true) */

Callers

nothing calls this directly

Calls 2

nhl_errorFunction · 0.85
impossibleFunction · 0.70

Tested by

no test coverage detected