diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2022-10-29 12:06:37 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2022-10-29 12:06:37 -0300 |
commit | 413a393e6222482f46599e138bebac162610a572 (patch) | |
tree | 181517f8ec8d56f9101de33f4891729044f244de /ldebug.h | |
parent | ba089bcb08a0efc6c26fb5c1e3c9d61c00cc012c (diff) | |
download | lua-413a393e6222482f46599e138bebac162610a572.tar.gz lua-413a393e6222482f46599e138bebac162610a572.tar.bz2 lua-413a393e6222482f46599e138bebac162610a572.zip |
Stack indices changed to union's
That will allow to change pointers to offsets while reallocating
the stack.
Diffstat (limited to 'ldebug.h')
-rw-r--r-- | ldebug.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,7 @@ | |||
15 | 15 | ||
16 | 16 | ||
17 | /* Active Lua function (given call info) */ | 17 | /* Active Lua function (given call info) */ |
18 | #define ci_func(ci) (clLvalue(s2v((ci)->func))) | 18 | #define ci_func(ci) (clLvalue(s2v((ci)->func.p))) |
19 | 19 | ||
20 | 20 | ||
21 | #define resethookcount(L) (L->hookcount = L->basehookcount) | 21 | #define resethookcount(L) (L->hookcount = L->basehookcount) |