MCPcopy Create free account
hub / github.com/DFHack/dfhack / growstack

Function growstack

depends/lua/src/lapi.c:91–94  ·  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

89** capturing memory errors
90*/
91static void growstack (lua_State *L, void *ud) {
92 int size = *(int *)ud;
93 luaD_growstack(L, size);
94}
95
96
97LUA_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