MCPcopy Create free account
hub / github.com/AshenvaleZX/ZXEngine / luaD_reallocstack

Function luaD_reallocstack

CPPScripts/External/Lua/ldo.c:191–212  ·  view source on GitHub ↗

** Reallocate the stack to a new size, correcting all pointers into ** it. (There are pointers to a stack from its upvalues, from its list ** of call infos, plus a few individual pointers.) The reallocation is ** done in two steps (allocation + free) because the correction must be ** done while both addresses (the old stack and the new one) are valid. ** (In ISO C, any pointer use after the pointe

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

luaE_resetthreadFunction · 0.85
luaD_growstackFunction · 0.85
luaD_shrinkstackFunction · 0.85

Calls 1

correctstackFunction · 0.85

Tested by

no test coverage detected