MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / checkstack

Function checkstack

src/Chain/libraries/glua/ldblib.cpp:34–37  ·  view source on GitHub ↗

** If L1 != L, L1 can be in any state, and therefore there are no ** guarantees about its stack space; any push in L1 must be ** checked. */

Source from the content-addressed store, hash-verified

32** checked.
33*/
34static void checkstack(lua_State *L, lua_State *L1, int n) {
35 if (L != L1 && !lua_checkstack(L1, n))
36 luaL_error(L, "stack overflow");
37}
38
39
40static int db_getregistry(lua_State *L) {

Callers 5

db_getinfoFunction · 0.85
db_getlocalFunction · 0.85
db_setlocalFunction · 0.85
db_sethookFunction · 0.85
db_gethookFunction · 0.85

Calls 2

lua_checkstackFunction · 0.85
luaL_errorFunction · 0.85

Tested by

no test coverage detected