| 830 | } |
| 831 | |
| 832 | static 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 | |
| 842 | const char *const pen_fields[] = { |
| 843 | "ch", "fg", "bold", "bg", "tile", "tile_color", "tile_fg", "tile_bg", |
nothing calls this directly
no test coverage detected