aboutsummaryrefslogtreecommitdiff
path: root/ldebug.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-10-29 12:06:37 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-10-29 12:06:37 -0300
commit413a393e6222482f46599e138bebac162610a572 (patch)
tree181517f8ec8d56f9101de33f4891729044f244de /ldebug.h
parentba089bcb08a0efc6c26fb5c1e3c9d61c00cc012c (diff)
downloadlua-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldebug.h b/ldebug.h
index 974960e9..2c3074c6 100644
--- a/ldebug.h
+++ b/ldebug.h
@@ -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)