MCPcopy Create free account
hub / github.com/F-Stack/f-stack / luaL_checkstack

Function luaL_checkstack

freebsd/contrib/openzfs/module/lua/lauxlib.c:293–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291
292
293LUALIB_API void luaL_checkstack (lua_State *L, int space, const char *msg) {
294 /* keep some extra space to run error routines, if needed */
295 const int extra = LUA_MINSTACK;
296 if (!lua_checkstack(L, space + extra)) {
297 if (msg)
298 luaL_error(L, "stack overflow (%s)", msg);
299 else
300 luaL_error(L, "stack overflow");
301 }
302}
303
304
305LUALIB_API void luaL_checktype (lua_State *L, int narg, int t) {

Callers 4

str_byteFunction · 0.70
push_capturesFunction · 0.70
luaL_setfuncsFunction · 0.70
tsortFunction · 0.70

Calls 2

lua_checkstackFunction · 0.70
luaL_errorFunction · 0.70

Tested by

no test coverage detected