| 86 | |
| 87 | |
| 88 | static void treatstackoption (lua_State *L, lua_State *L1, const char *fname) { |
| 89 | if (L == L1) { |
| 90 | lua_pushvalue(L, -2); |
| 91 | lua_remove(L, -3); |
| 92 | } |
| 93 | else |
| 94 | lua_xmove(L1, L, 1); |
| 95 | lua_setfield(L, -2, fname); |
| 96 | } |
| 97 | |
| 98 | |
| 99 | static int db_getinfo (lua_State *L) { |
no test coverage detected