MCPcopy Create free account
hub / github.com/DFHack/dfhack / dfhack_pen_pairs

Function dfhack_pen_pairs

library/LuaApi.cpp:832–840  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

830}
831
832static int dfhack_pen_pairs(lua_State *L)
833{
834 luaL_checktype(L, 1, LUA_TUSERDATA);
835 get_pen_mirror(L, 1);
836 lua_pushcclosure(L, pen_pnext, 1);
837 lua_pushnil(L);
838 lua_pushnil(L);
839 return 3;
840}
841
842const char *const pen_fields[] = {
843 "ch", "fg", "bold", "bg", "tile", "tile_color", "tile_fg", "tile_bg",

Callers

nothing calls this directly

Calls 4

luaL_checktypeFunction · 0.85
get_pen_mirrorFunction · 0.85
lua_pushcclosureFunction · 0.85
lua_pushnilFunction · 0.85

Tested by

no test coverage detected