diff options
Diffstat (limited to 'ltable.h')
-rw-r--r-- | ltable.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 */ |