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

Function growstack

src/Chain/libraries/glua/lapi.cpp:94–97  ·  view source on GitHub ↗

** to be called by 'lua_checkstack' in protected mode, to grow stack ** capturing memory errors */

Source from the content-addressed store, hash-verified

92** capturing memory errors
93*/
94static void growstack(lua_State *L, void *ud) {
95 int size = *(int *)ud;
96 luaD_growstack(L, size);
97}
98
99
100LUA_API int lua_checkstack(lua_State *L, int n) {

Callers

nothing calls this directly

Calls 1

luaD_growstackFunction · 0.85

Tested by

no test coverage detected