MCPcopy Index your code
hub / github.com/NetHack/NetHack / nhl_add_table_entry_int

Function nhl_add_table_entry_int

src/nhlua.c:290–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288}
289
290RESTORE_WARNING_UNREACHABLE_CODE
291
292void
293nhl_add_table_entry_int(lua_State *L, const char *name, lua_Integer value)
294{
295 lua_pushstring(L, name);
296 lua_pushinteger(L, value);
297 lua_rawset(L, -3);
298}
299
300void
301nhl_add_table_entry_char(lua_State *L, const char *name, char value)

Callers 12

l_obj_objects_to_tableFunction · 0.85
l_obj_to_tableFunction · 0.85
nhl_gettrapFunction · 0.85
nhl_getmapFunction · 0.85
nhl_stairwaysFunction · 0.85
l_selection_rndcoordFunction · 0.85
l_selection_getboundsFunction · 0.85
l_push_wid_hei_tableFunction · 0.85
l_push_mkroom_tableFunction · 0.85
nhl_abs_coordFunction · 0.85
l_get_config_errorsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected