| 87 | */ |
| 88 | |
| 89 | void DFHack::Lua::Push(lua_State *state, const Units::NoblePosition &pos) |
| 90 | { |
| 91 | lua_createtable(state, 0, 3); |
| 92 | Lua::PushDFObject(state, pos.entity); |
| 93 | lua_setfield(state, -2, "entity"); |
| 94 | Lua::PushDFObject(state, pos.assignment); |
| 95 | lua_setfield(state, -2, "assignment"); |
| 96 | Lua::PushDFObject(state, pos.position); |
| 97 | lua_setfield(state, -2, "position"); |
| 98 | } |
| 99 | |
| 100 | void DFHack::Lua::Push(lua_State *state, const df::coord &pos) |
| 101 | { |
nothing calls this directly
no test coverage detected