diff options
| author | Li Jin <dragon-fly@qq.com> | 2021-01-22 17:54:39 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2021-01-22 17:54:39 +0800 |
| commit | 236bcc6e10f59b9336603571f1683cbe4aa411a9 (patch) | |
| tree | 7116190d16a12bfcb0819e802c6e1d4ac8b0ec70 /src/lua/lfunc.h | |
| parent | f61b96675547c8bf40c7f646e3766f4139efd927 (diff) | |
| download | yuescript-236bcc6e10f59b9336603571f1683cbe4aa411a9.tar.gz yuescript-236bcc6e10f59b9336603571f1683cbe4aa411a9.tar.bz2 yuescript-236bcc6e10f59b9336603571f1683cbe4aa411a9.zip | |
update included Lua.
Diffstat (limited to 'src/lua/lfunc.h')
| -rw-r--r-- | src/lua/lfunc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lua/lfunc.h b/src/lua/lfunc.h index 8d6f965..2e6df53 100644 --- a/src/lua/lfunc.h +++ b/src/lua/lfunc.h | |||
| @@ -49,8 +49,8 @@ | |||
| 49 | /* close upvalues without running their closing methods */ | 49 | /* close upvalues without running their closing methods */ |
| 50 | #define NOCLOSINGMETH (-1) | 50 | #define NOCLOSINGMETH (-1) |
| 51 | 51 | ||
| 52 | /* close upvalues running all closing methods in protected mode */ | 52 | /* special status to close upvalues preserving the top of the stack */ |
| 53 | #define CLOSEPROTECT (-2) | 53 | #define CLOSEKTOP (-2) |
| 54 | 54 | ||
| 55 | 55 | ||
| 56 | LUAI_FUNC Proto *luaF_newproto (lua_State *L); | 56 | LUAI_FUNC Proto *luaF_newproto (lua_State *L); |
| @@ -59,7 +59,7 @@ LUAI_FUNC LClosure *luaF_newLclosure (lua_State *L, int nupvals); | |||
| 59 | LUAI_FUNC void luaF_initupvals (lua_State *L, LClosure *cl); | 59 | LUAI_FUNC void luaF_initupvals (lua_State *L, LClosure *cl); |
| 60 | LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level); | 60 | LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level); |
| 61 | LUAI_FUNC void luaF_newtbcupval (lua_State *L, StkId level); | 61 | LUAI_FUNC void luaF_newtbcupval (lua_State *L, StkId level); |
| 62 | LUAI_FUNC int luaF_close (lua_State *L, StkId level, int status); | 62 | LUAI_FUNC void luaF_close (lua_State *L, StkId level, int status, int yy); |
| 63 | LUAI_FUNC void luaF_unlinkupval (UpVal *uv); | 63 | LUAI_FUNC void luaF_unlinkupval (UpVal *uv); |
| 64 | LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f); | 64 | LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f); |
| 65 | LUAI_FUNC const char *luaF_getlocalname (const Proto *func, int local_number, | 65 | LUAI_FUNC const char *luaF_getlocalname (const Proto *func, int local_number, |
