** If L1 != L, L1 can be in any state, and therefore there are no ** guarantees about its stack space; any push in L1 must be ** checked. */
| 33 | ** checked. |
| 34 | */ |
| 35 | static void checkstack (lua_State *L, lua_State *L1, int n) { |
| 36 | if (L != L1 && !lua_checkstack(L1, n)) |
| 37 | luaL_error(L, "stack overflow"); |
| 38 | } |
| 39 | |
| 40 | |
| 41 | static int db_getregistry (lua_State *L) { |
no test coverage detected