| 2612 | } |
| 2613 | |
| 2614 | COMPAT53_API void luaL_checkstack(lua_State *L, int sp, const char *msg) { |
| 2615 | if (!lua_checkstack(L, sp + LUA_MINSTACK)) { |
| 2616 | if (msg != NULL) |
| 2617 | luaL_error(L, "stack overflow (%s)", msg); |
| 2618 | else { |
| 2619 | lua_pushliteral(L, "stack overflow"); |
| 2620 | lua_error(L); |
| 2621 | } |
| 2622 | } |
| 2623 | } |
| 2624 | |
| 2625 | COMPAT53_API int luaL_getsubtable(lua_State *L, int i, const char *name) { |
| 2626 | int abs_i = lua_absindex(L, i); |
no test coverage detected