mirror of
https://github.com/lua/lua.git
synced 2026-06-08 08:03:49 +00:00
LUAI_MAXSTACK defined privately
LUAI_MAXSTACK is limited to INT_MAX/2, so can use INT_MAX/2 to define pseudo-indices (LUA_REGISTRYINDEX) in 'lua.h'. A change in the maximum stack size does not need to change the Lua-C ABI.
This commit is contained in:
Reference in New Issue
Block a user