| 438 | |
| 439 | |
| 440 | static int db_setcstacklimit (lua_State *L) { |
| 441 | int limit = (int)luaL_checkinteger(L, 1); |
| 442 | int res = lua_setcstacklimit(L, limit); |
| 443 | if (res == 0) |
| 444 | lua_pushboolean(L, 0); |
| 445 | else |
| 446 | lua_pushinteger(L, res); |
| 447 | return 1; |
| 448 | } |
| 449 | |
| 450 | |
| 451 | static const luaL_Reg dblib[] = { |
nothing calls this directly
no test coverage detected