| 1321 | } |
| 1322 | |
| 1323 | void LuaDetail::rawGetField(lua_State* state, int index, char const* key) { |
| 1324 | lua_checkstack(state, 2); |
| 1325 | |
| 1326 | int absTableIndex = lua_absindex(state, index); |
| 1327 | lua_pushstring(state, key); |
| 1328 | |
| 1329 | // Pops the key |
| 1330 | lua_rawget(state, absTableIndex); |
| 1331 | } |
| 1332 | |
| 1333 | void LuaDetail::shallowCopy(lua_State* state, int sourceIndex, int targetIndex) { |
| 1334 | lua_checkstack(state, 3); |
nothing calls this directly
no test coverage detected