aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-08-22 11:11:00 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-08-22 11:11:00 -0300
commitfd0e1f530d06340f99334b07d74e5133ce073787 (patch)
tree508a3d85bbba5f0644a8094535b99d0ffdf8c505 /lapi.c
parent75620b45ae9d500a3251a0e698de98ab588d2a29 (diff)
downloadlua-fd0e1f530d06340f99334b07d74e5133ce073787.tar.gz
lua-fd0e1f530d06340f99334b07d74e5133ce073787.tar.bz2
lua-fd0e1f530d06340f99334b07d74e5133ce073787.zip
Added option for direct correction of stack pointers
The use of a pointer (not access, only for computations) after its deallocation is forbiden in ISO C, but seems to work fine in all platforms we are aware of. So, using that to correct stack pointers after a stack reallocation seems safe and is much simpler than the current implementation (first change all pointers to offsets and then changing the offsets back to pointers). Anyway, for now that option is disabled.
Diffstat (limited to 'lapi.c')
0 files changed, 0 insertions, 0 deletions