| 138 | |
| 139 | |
| 140 | LUALIB_API void luaL_checkstack (lua_State *L, int space, const char *mes) { |
| 141 | if (!lua_checkstack(L, space)) |
| 142 | luaL_error(L, "stack overflow (%s)", mes); |
| 143 | } |
| 144 | |
| 145 | |
| 146 | LUALIB_API void luaL_checktype (lua_State *L, int narg, int t) { |
no test coverage detected