| 343 | } |
| 344 | |
| 345 | template<class T> inline void SetField(lua_State *L, T val, int idx, const char *name) { |
| 346 | if (idx < 0) idx = lua_absindex(L, idx); |
| 347 | Push(L, val); lua_setfield(L, idx, name); |
| 348 | } |
| 349 | |
| 350 | DFHACK_EXPORT void PushInterfaceKeys(lua_State *L, const std::set<df::interface_key> &keys); |
| 351 |
no test coverage detected