| 104 | |
| 105 | |
| 106 | static void treatstackoption (lua_State *L, lua_State *L1, const char *fname) { |
| 107 | if (L == L1) { |
| 108 | lua_pushvalue(L, -2); |
| 109 | lua_remove(L, -3); |
| 110 | } |
| 111 | else |
| 112 | lua_xmove(L1, L, 1); |
| 113 | lua_setfield(L, -2, fname); |
| 114 | } |
| 115 | |
| 116 | |
| 117 | static int db_getinfo (lua_State *L) { |
no test coverage detected