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

Function nhl_makesingular

src/nhlua.c:868–879  ·  view source on GitHub ↗

makesingular("zorkmids") */

Source from the content-addressed store, hash-verified

866
867/* makesingular("zorkmids") */
868staticfn int
869nhl_makesingular(lua_State *L)
870{
871 int argc = lua_gettop(L);
872
873 if (argc == 1)
874 lua_pushstring(L, makesingular(luaL_checkstring(L, 1)));
875 else
876 nhl_error(L, "Wrong args");
877
878 return 1;
879}
880
881/* s_suffix("foo") */
882staticfn int

Callers

nothing calls this directly

Calls 2

makesingularFunction · 0.85
nhl_errorFunction · 0.85

Tested by

no test coverage detected