| 11568 | |
| 11569 | |
| 11570 | static int db_setfenv (lua_State *L) { |
| 11571 | luaL_checktype(L, 2, LUA_TTABLE); |
| 11572 | lua_settop(L, 2); |
| 11573 | if (lua_setfenv(L, 1) == 0) |
| 11574 | luaL_error(L, LUA_QL("setfenv") |
| 11575 | " cannot change environment of given object"); |
| 11576 | return 1; |
| 11577 | } |
| 11578 | |
| 11579 | |
| 11580 | static void settabss (lua_State *L, const char *i, const char *v) { |
nothing calls this directly
no test coverage detected