aboutsummaryrefslogtreecommitdiff
path: root/src/error.cpp
diff options
context:
space:
mode:
authorClay Murray <clay.murray8@gmail.com>2023-05-14 14:00:38 -0600
committerGitHub <noreply@github.com>2023-05-14 14:00:38 -0600
commit8caadbacf7147841a51b1e7f65b03907703d0005 (patch)
tree3943c7cba1f383cf92a2d8b0316f6045b736177a /src/error.cpp
parent870d7768753436c569687c8e286249ed87870534 (diff)
lua MAXSTACK should be 1000000 on 32 bits OR greater
Code only checks if 4 bytes for `rawptr` size. However lua defines the macro (that I assume the odin code is based on) as: ``` /* @@ LUAI_IS32INT is true iff 'int' has (at least) 32 bits. */ #define LUAI_IS32INT ((UINT_MAX >> 30) >= 3) ``` This error broke `upvalues` because it would be looking for the wrong index for lua to find them at.
Diffstat (limited to 'src/error.cpp')
0 files changed, 0 insertions, 0 deletions