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

Function nhl_add_table_entry_char

src/nhlua.c:300–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298}
299
300void
301nhl_add_table_entry_char(lua_State *L, const char *name, char value)
302{
303 char buf[2];
304 Sprintf(buf, "%c", value);
305 lua_pushstring(L, name);
306 lua_pushstring(L, buf);
307 lua_rawset(L, -3);
308}
309
310void
311nhl_add_table_entry_str(lua_State *L, const char *name, const char *value)

Callers 2

l_obj_objects_to_tableFunction · 0.85
l_obj_to_tableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected