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

Function nhl_add_table_entry_bool

src/nhlua.c:317–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

315 lua_rawset(L, -3);
316}
317void
318nhl_add_table_entry_bool(lua_State *L, const char *name, boolean value)
319{
320 lua_pushstring(L, name);
321 lua_pushboolean(L, value);
322 lua_rawset(L, -3);
323}
324
325void
326nhl_add_table_entry_region(lua_State *L, const char *name, coordxy x1,

Callers 4

nhl_gettrapFunction · 0.85
nhl_getmapFunction · 0.85
nhl_stairwaysFunction · 0.85
l_push_mkroom_tableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected