MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / luaL_checkstack

Function luaL_checkstack

extlibs/sol3/include/sol/sol.hpp:2614–2623  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2612}
2613
2614COMPAT53_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
2625COMPAT53_API int luaL_getsubtable(lua_State *L, int i, const char *name) {
2626 int abs_i = lua_absindex(L, i);

Callers 15

lua_arithFunction · 0.70
lua_compareFunction · 0.70
lua_copyFunction · 0.70
lua_rawsetpFunction · 0.70
luaL_getsubtableFunction · 0.70
lua_Integer luaL_lenFunction · 0.70
luaL_setfuncsFunction · 0.70
luaL_setmetatableFunction · 0.70
luaL_testudataFunction · 0.70
lua_rotateFunction · 0.70
lua_setiFunction · 0.70
luaL_requirefFunction · 0.70

Calls 3

lua_checkstackFunction · 0.85
luaL_errorFunction · 0.85
lua_errorFunction · 0.85

Tested by

no test coverage detected