aboutsummaryrefslogtreecommitdiff
path: root/src/lua/ltable.h
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2020-09-11 15:31:51 +0800
committerLi Jin <dragon-fly@qq.com>2020-09-11 15:31:51 +0800
commit85b9ec82247f6e06b802188af35d09d3159625df (patch)
tree487152fb9639a74e323f7db962f558ba0514322d /src/lua/ltable.h
parentdfd4e3b2b2abc0137d26ed3df303a398741bb6a0 (diff)
downloadyuescript-85b9ec82247f6e06b802188af35d09d3159625df.tar.gz
yuescript-85b9ec82247f6e06b802188af35d09d3159625df.tar.bz2
yuescript-85b9ec82247f6e06b802188af35d09d3159625df.zip
update Lua.
Diffstat (limited to 'src/lua/ltable.h')
-rw-r--r--src/lua/ltable.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lua/ltable.h b/src/lua/ltable.h
index ebd7f8e..c0060f4 100644
--- a/src/lua/ltable.h
+++ b/src/lua/ltable.h
@@ -15,7 +15,12 @@
15#define gnext(n) ((n)->u.next) 15#define gnext(n) ((n)->u.next)
16 16
17 17
18#define invalidateTMcache(t) ((t)->flags = 0) 18/*
19** Clear all bits of fast-access metamethods, which means that the table
20** may have any of these metamethods. (First access that fails after the
21** clearing will set the bit again.)
22*/
23#define invalidateTMcache(t) ((t)->flags &= ~maskflags)
19 24
20 25
21/* true when 't' is using 'dummynode' as its hash part */ 26/* true when 't' is using 'dummynode' as its hash part */