diff options
Diffstat (limited to 'ltm.h')
-rw-r--r-- | ltm.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -46,6 +46,15 @@ typedef enum { | |||
46 | 46 | ||
47 | 47 | ||
48 | /* | 48 | /* |
49 | ** Mask with 1 in all fast-access methods. A 1 in any of these bits | ||
50 | ** in the flag of a (meta)table means the metatable does not have the | ||
51 | ** corresponding metamethod field. (Bit 7 of the flag is used for | ||
52 | ** 'isrealasize'.) | ||
53 | */ | ||
54 | #define maskflags (~(~0u << (TM_EQ + 1))) | ||
55 | |||
56 | |||
57 | /* | ||
49 | ** Test whether there is no tagmethod. | 58 | ** Test whether there is no tagmethod. |
50 | ** (Because tagmethods use raw accesses, the result may be an "empty" nil.) | 59 | ** (Because tagmethods use raw accesses, the result may be an "empty" nil.) |
51 | */ | 60 | */ |