diff options
Diffstat (limited to 'libs/liblua/src/ltm.h')
-rw-r--r-- | libs/liblua/src/ltm.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libs/liblua/src/ltm.h b/libs/liblua/src/ltm.h index 99b545e766..73b833c605 100644 --- a/libs/liblua/src/ltm.h +++ b/libs/liblua/src/ltm.h @@ -46,6 +46,15 @@ typedef enum { /* +** Mask with 1 in all fast-access methods. A 1 in any of these bits +** in the flag of a (meta)table means the metatable does not have the +** corresponding metamethod field. (Bit 7 of the flag is used for +** 'isrealasize'.) +*/ +#define maskflags (~(~0u << (TM_EQ + 1))) + + +/* ** Test whether there is no tagmethod. ** (Because tagmethods use raw accesses, the result may be an "empty" nil.) */ |