| 1390 | } |
| 1391 | |
| 1392 | static void PushTypeIdentity(lua_State *state, const type_identity *id) |
| 1393 | { |
| 1394 | lua_rawgetp(state, LUA_REGISTRYINDEX, &DFHACK_TYPEID_TABLE_TOKEN); |
| 1395 | lua_rawgetp(state, -1, id); |
| 1396 | lua_remove(state, -2); // TYPEID_TABLE |
| 1397 | } |
| 1398 | |
| 1399 | static void PushFieldInfoSubTable(lua_State *state, const struct_field_info *field) |
| 1400 | { |
no test coverage detected