diff options
| author | Li Jin <dragon-fly@qq.com> | 2020-08-06 01:00:41 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2020-08-06 01:00:41 +0800 |
| commit | 2506c1b429e952245295e54e71dac4b345e88984 (patch) | |
| tree | ef9f243b6ca18d07b2734041c93fb496cdd8d796 /src/lua/lobject.h | |
| parent | c74f45ba9778792e6f5a239539d25fd7918252f7 (diff) | |
| download | yuescript-2506c1b429e952245295e54e71dac4b345e88984.tar.gz yuescript-2506c1b429e952245295e54e71dac4b345e88984.tar.bz2 yuescript-2506c1b429e952245295e54e71dac4b345e88984.zip | |
update Lua 5.4.
Diffstat (limited to '')
| -rw-r--r-- | src/lua/lobject.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lua/lobject.h b/src/lua/lobject.h index 04a81d3..1620223 100644 --- a/src/lua/lobject.h +++ b/src/lua/lobject.h | |||
| @@ -96,7 +96,8 @@ typedef struct TValue { | |||
| 96 | /* | 96 | /* |
| 97 | ** Any value being manipulated by the program either is non | 97 | ** Any value being manipulated by the program either is non |
| 98 | ** collectable, or the collectable object has the right tag | 98 | ** collectable, or the collectable object has the right tag |
| 99 | ** and it is not dead. | 99 | ** and it is not dead. The option 'L == NULL' allows other |
| 100 | ** macros using this one to be used where L is not available. | ||
| 100 | */ | 101 | */ |
| 101 | #define checkliveness(L,obj) \ | 102 | #define checkliveness(L,obj) \ |
| 102 | ((void)L, lua_longassert(!iscollectable(obj) || \ | 103 | ((void)L, lua_longassert(!iscollectable(obj) || \ |
