| 92 | |
| 93 | |
| 94 | static void treatstackoption (lua_State *L, lua_State *L1, const char *fname) { |
| 95 | if (L == L1) { |
| 96 | lua_pushvalue(L, -2); |
| 97 | lua_remove(L, -3); |
| 98 | } |
| 99 | else |
| 100 | lua_xmove(L1, L, 1); |
| 101 | lua_setfield(L, -2, fname); |
| 102 | } |
| 103 | |
| 104 | |
| 105 | static int db_getinfo (lua_State *L) { |
no test coverage detected