| 97 | } |
| 98 | |
| 99 | static void treatstackoption(lua_State *L, lua_State *L1, const char *fname) |
| 100 | { |
| 101 | if (L == L1) { |
| 102 | lua_pushvalue(L, -2); |
| 103 | lua_remove(L, -3); |
| 104 | } |
| 105 | else |
| 106 | lua_xmove(L1, L, 1); |
| 107 | lua_setfield(L, -2, fname); |
| 108 | } |
| 109 | |
| 110 | LJLIB_CF(debug_getinfo) |
| 111 | { |
no test coverage detected