diff options
| author | Li Jin <dragon-fly@qq.com> | 2020-09-11 15:31:51 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2020-09-11 15:31:51 +0800 |
| commit | 85b9ec82247f6e06b802188af35d09d3159625df (patch) | |
| tree | 487152fb9639a74e323f7db962f558ba0514322d /src/lua/ltm.h | |
| parent | dfd4e3b2b2abc0137d26ed3df303a398741bb6a0 (diff) | |
| download | yuescript-85b9ec82247f6e06b802188af35d09d3159625df.tar.gz yuescript-85b9ec82247f6e06b802188af35d09d3159625df.tar.bz2 yuescript-85b9ec82247f6e06b802188af35d09d3159625df.zip | |
update Lua.
Diffstat (limited to '')
| -rw-r--r-- | src/lua/ltm.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lua/ltm.h b/src/lua/ltm.h index 99b545e..73b833c 100644 --- a/src/lua/ltm.h +++ b/src/lua/ltm.h | |||
| @@ -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 | */ |
